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;