From 30fc3eb3d1d7ad58810d3f5e9f487fc0ed59e51c Mon Sep 17 00:00:00 2001 From: APerson Date: Thu, 27 Nov 2014 22:39:39 -0500 Subject: [PATCH] Fix upload script when there's no password If there's no password passed in via the command line but `--force` is used, the script assumes that "`--force`" is the password. --- scripts/upload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upload.py b/scripts/upload.py index 2de2428..1028913 100644 --- a/scripts/upload.py +++ b/scripts/upload.py @@ -50,6 +50,7 @@ command = 'grunt build' if '--force' in sys.argv: print 'Forcing grunt build with --force...' command += ' --force' + sys.argv.remove('--force') try: process = subprocess.Popen(command.split(), stdout=subprocess.PIPE)