diff --git a/src/app/repository-status-handler.coffee b/src/app/repository-status-handler.coffee index d879152b3..663fa43dc 100644 --- a/src/app/repository-status-handler.coffee +++ b/src/app/repository-status-handler.coffee @@ -8,8 +8,8 @@ module.exports = if repo? workingDirectoryPath = repo.getWorkingDirectory() statuses = {} - for path, status of repo.getStatus() - statuses[path.join(workingDirectoryPath, path)] = status + for filePath, status of repo.getStatus() + statuses[path.join(workingDirectoryPath, filePath)] = status upstream = repo.getAheadBehindCount() repo.release() else