Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj committed Jul 28, 2022
1 parent 2dd4d9c commit ac8268b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ctf-party
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ begin
pp args if args['--debug']
if args['<string>']
args['<string>'] = $stdin.read.chomp if args['<string>'] == '-'
args['<string>'] = File.read(args['<string>']) if args['--file'] and File.exists?(args['<string>'])
args['<string>'] = File.read(args['<string>']) if args['--file'] && File.exist?(args['<string>'])
wrong_cmd = args['<cmd>'] - cmd_whitelist.keys.map(&:to_s)
if wrong_cmd.empty?
if args['--row']
Expand Down

0 comments on commit ac8268b

Please sign in to comment.