Skip to content

Commit

Permalink
Replaced console.debug with process.stderr.write
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkmg committed Feb 2, 2018
1 parent 0a1dee5 commit 1b45ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion easyimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports.execute = require('./lib/execute').execute;
* @returns {*|PromiseLike<any>}
*/
exports.exec = function(cmd) {
console.debug('This command is deprecated. Please update to using execute'.yellow);
process.stderr.write('This command is deprecated. Please update to using execute\n'.yellow);
var deferred = Q.defer();

process.nextTick(function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easyimage",
"version": "2.2.0",
"version": "2.2.1",
"description": "A promise-based, user-friendly module for processing images in Node.js",
"license": "MIT",
"main": "easyimage.js",
Expand Down

0 comments on commit 1b45ab7

Please # to comment.