Skip to content

Commit

Permalink
Changed option name to output
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rmat1k committed Mar 24, 2015
1 parent 21cd63a commit 88f8d36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bemy.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function rename(nodePath, originNode){
fs.writeFileSync(newChildPath, file);
}

if (config.logging === true) console.log('Renamed:\n' + newChildPath + '\n to \n' + currentChildPath);
if (config.output === true) console.log('Renamed:\n' + newChildPath + '\n to \n' + currentChildPath);
} else {
rename(newChildPath, originNode);
}
Expand Down Expand Up @@ -313,7 +313,7 @@ function createFile(file, type, trg, modVal, cursorPos){
if (!fs.existsSync(p)) {
fs.writeFileSync(p, file);

if (config.logging === true) console.log('\nCreated:\n' + p);
if (config.output === true) console.log('\nCreated:\n' + p);

if (options.g) gitAddTrg(trg, p);

Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"deps_task": {
"files": [ "css" ]
},
"logging": false
"output": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "git",
"url": "https://github.com/f0rmat1k/bemy.git"
},
"version": "2.2.0",
"version": "2.2.1",
"keywords": [
"bem",
"BEM Tools"
Expand Down

0 comments on commit 88f8d36

Please sign in to comment.