Skip to content

Commit

Permalink
filter by UTC prefix when finding keyfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebrabbani committed May 9, 2022
1 parent 1142fec commit 8a30a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/utils/list.keyfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export default function provideListKeyfiles(
assertIsNonEmptyString(configFilename, 'configFilename')

return function listKeyfiles() {
return shell.ls(fortaKeystore).filter(filename => filename !== configFilename)
return shell.ls(fortaKeystore).filter(filename => filename.startsWith("UTC") && filename !== configFilename)
}
}

0 comments on commit 8a30a76

Please sign in to comment.