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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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(`${__dirname}/bones-settings.json`, `{ styleFiles: ${styleFiles} }`);
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(`${__dirname}/bones-settings.json`));
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(`${__dirname}/bones-settings.json`));
303
+ var settings = JSON.parse(fs.readFileSync(`bones-settings.json`));
304
304
 
305
305
  // ==============================================
306
306
  // END: Check arguments
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bones-cli",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Command line tools for Bones - a rapid development framework for web apps with MeteorJS & Blaze templates",
5
5
  "keywords": [
6
6
  "cli",