bones-cli 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var bfinit = function() {
|
|
|
19
19
|
if (myArgs[0] == 'less') {
|
|
20
20
|
styleFiles = "less";
|
|
21
21
|
}
|
|
22
|
-
fs.writeFileSync(
|
|
22
|
+
fs.writeFileSync(`bones-settings.json`, `{ styleFiles: ${styleFiles} }`);
|
|
23
23
|
|
|
24
24
|
// ==============================================
|
|
25
25
|
// START: Create Directories
|
|
@@ -207,7 +207,7 @@ var bfpage = function() {
|
|
|
207
207
|
// ==============================================
|
|
208
208
|
// START: Check settings
|
|
209
209
|
// ==============================================
|
|
210
|
-
var settings = JSON.parse(fs.readFileSync(
|
|
210
|
+
var settings = JSON.parse(fs.readFileSync(`bones-settings.json`));
|
|
211
211
|
|
|
212
212
|
// ==============================================
|
|
213
213
|
// END: Check arguments
|
|
@@ -300,7 +300,7 @@ var bfcomp = function() {
|
|
|
300
300
|
// ==============================================
|
|
301
301
|
// START: Check settings
|
|
302
302
|
// ==============================================
|
|
303
|
-
var settings = JSON.parse(fs.readFileSync(
|
|
303
|
+
var settings = JSON.parse(fs.readFileSync(`bones-settings.json`));
|
|
304
304
|
|
|
305
305
|
// ==============================================
|
|
306
306
|
// END: Check arguments
|