Skip to content

Commit b1e5e4e

Browse files
committed
Update files.js
1 parent 56b6b3a commit b1e5e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function onFileEclipsedInCache(oldSha, newSha, newFile) {
166166
// store the modified file under new sha as key
167167
modifiedFiles[newSha] = oldEclipsedFile;
168168

169-
} else if (selectedFile.sha === oldSha) {
169+
} else if (selectedFile.sha === newSha) {
170170

171171
// if old eclipsed file is selected
172172

0 commit comments

Comments
 (0)