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.
This commit is contained in:
parent
87bfca1b71
commit
30fc3eb3d1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user