From 88f8d36f03ec8ecaa0934644c9d9aeff3807ce4e Mon Sep 17 00:00:00 2001 From: Anton Grischenko Date: Wed, 25 Mar 2015 00:35:56 +0500 Subject: [PATCH] Changed option name to output --- bemy.js | 4 ++-- config.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bemy.js b/bemy.js index 5409059..f6a9cdf 100644 --- a/bemy.js +++ b/bemy.js @@ -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); } @@ -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); diff --git a/config.json b/config.json index 0ecb084..0570c3f 100644 --- a/config.json +++ b/config.json @@ -42,5 +42,5 @@ "deps_task": { "files": [ "css" ] }, - "logging": false + "output": false } diff --git a/package.json b/package.json index 7f9e191..afc40f4 100644 --- a/package.json +++ b/package.json @@ -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"