From 81a15e751e6d4b7de3959ab411db07d41738662d Mon Sep 17 00:00:00 2001 From: Dan Bernardic Date: Sat, 22 Feb 2014 16:09:55 -0600 Subject: [PATCH] Do not store Password warning in db dump --- tasks/deployments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/deployments.js b/tasks/deployments.js index 38b2ceb..95c0dfb 100644 --- a/tasks/deployments.js +++ b/tasks/deployments.js @@ -209,7 +209,7 @@ module.exports = function(grunt) { } // 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.', '' ); // Write output to file using native Grunt methods grunt.file.write( output_paths.file, output );