Skip to content

Commit 3baadc9

Browse files
committed
fix new 'fips update fips'
1 parent 44d7ebe commit 3baadc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

verbs/update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#-------------------------------------------------------------------------------
1212
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) :
13+
if len(args) > 0 and args[0] == 'fips' :
14+
if git.has_local_changes(fips_dir) :
1515
log.warn(" '{}' has local changes, skipping...".format(fips_dir))
1616
else :
1717
log.colored(log.BLUE, " updating '{}'...".format(fips_dir))

0 commit comments

Comments
 (0)