Parcourir la source

Change variable name because the same name is reused below in a different context.

Afshin Darian il y a 7 ans
Parent
commit
11b7681dc4
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      jupyterlab/update-core.js

+ 3 - 3
jupyterlab/update-core.js

@@ -4,9 +4,9 @@ var glob = require('glob');
 var path = require('path');
 var sortPackageJson = require('sort-package-json');
 
-var schemaDir = path.resolve('./schemas');
-fs.removeSync(schemaDir);
-fs.ensureDirSync(schemaDir);
+var labSchemas = path.resolve('./schemas');
+fs.removeSync(labSchemas);
+fs.ensureDirSync(labSchemas);
 
 var themesDir = path.resolve('./themes');
 fs.removeSync(themesDir);