We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44d7ebe commit 3baadc9Copy full SHA for 3baadc9
1 file changed
verbs/update.py
@@ -10,8 +10,8 @@
10
11
#-------------------------------------------------------------------------------
12
def run(fips_dir, proj_dir, args) :
13
- if len(args) > 1 and args[0] == 'fips' :
14
- if not git.has_local_changes(fips_dir) :
+ if len(args) > 0 and args[0] == 'fips' :
+ if git.has_local_changes(fips_dir) :
15
log.warn(" '{}' has local changes, skipping...".format(fips_dir))
16
else :
17
log.colored(log.BLUE, " updating '{}'...".format(fips_dir))
0 commit comments