remove these bounds checks

This commit is contained in:
Christine Dodrill 2016-02-04 17:42:08 -08:00
parent fd3f86c8a5
commit 2873351496
2 changed files with 0 additions and 6 deletions

View File

@ -9,9 +9,6 @@ name in the secret store.
"""
proc code*(root: string, args: seq[string]) =
if args.len != 1:
quit "I need a machine name"
try:
var
keyFileName = args[0]

View File

@ -17,9 +17,6 @@ available for `totptool code` instantly.
"""
proc newSecret*(root: string, args: seq[string]) =
if args.len != 1:
quit "I need a machine name"
var
res = generateUUID()[0 .. 19]
body: string