Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 7500b7d

Browse files
committed
Include project scope if the "current editing file" matches the project root
1 parent 741a6d7 commit 7500b7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/preferences/PreferencesManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ define(function (require, exports, module) {
240240
if (!filename || !projectDirectory) {
241241
return false;
242242
}
243-
return FileUtils.getRelativeFilename(projectDirectory, filename) ? true : false;
243+
return FileUtils.getRelativeFilename(projectDirectory, filename) !== undefined;
244244
}
245245

246246
/**

0 commit comments

Comments
 (0)