diff options
Diffstat (limited to 'js/io/system')
-rw-r--r-- | js/io/system/chromeapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js index eee7409d..e53d4841 100644 --- a/js/io/system/chromeapi.js +++ b/js/io/system/chromeapi.js | |||
@@ -180,7 +180,7 @@ exports.ChromeApi = Montage.create(Object.prototype, { | |||
180 | //Checking for directory not to already exist | 180 | //Checking for directory not to already exist |
181 | this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) { | 181 | this.fileSystem.root.getDirectory(directoryPath, {}, function(dir) { |
182 | if (callback) callback(false); | 182 | if (callback) callback(false); |
183 | return; //Directory already exists | 183 | return false; //Directory already exists |
184 | }); | 184 | }); |
185 | //Creating new directory | 185 | //Creating new directory |
186 | this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) { | 186 | this.fileSystem.root.getDirectory(directoryPath, {create: true}, function(dir) { |