From fa93f097d20069060c2a6e7cda1e418865382b2f Mon Sep 17 00:00:00 2001 From: Dan Bernardic Date: Mon, 30 Jun 2014 08:48:14 -0500 Subject: [PATCH] Applied the fix for password warning to the dev branch. --- lib/dbDump.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dbDump.js b/lib/dbDump.js index 6e80483..474960d 100644 --- a/lib/dbDump.js +++ b/lib/dbDump.js @@ -55,7 +55,7 @@ function dbDump(config, output_paths, noExec) { if (!noExec) { // Capture output... - var output = shell.exec(cmd, {silent: true}).output; + var output = shell.exec(cmd, {silent: true}).output.replace( 'Warning: Using a password on the command line interface can be insecure.', '' ); // TODO: Add test here to check whether we were able to connect // Write output to file using native Grunt methods @@ -80,4 +80,4 @@ function dbDump(config, output_paths, noExec) { } -module.exports = dbDump; \ No newline at end of file +module.exports = dbDump;