Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 27, 2021
1 parent b10c3a9 commit 7e72dab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testament/testament.nim
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ proc isSuccess(input: string): bool =
# note: this doesn't handle colors, eg: `\e[1m\e[0m\e[32mHint:`; while we
# could handle colors, there would be other issues such as handling other flags
# that may appear in user config (eg: `--listFullPaths`).
# Passing`XDG_CONFIG_HOME= ` is one way to avoid interefence from user config.
# Passing `XDG_CONFIG_HOME= testament args...` can be used to ignore user config
# stored in XDG_CONFIG_HOME, refs https://wiki.archlinux.org/index.php/XDG_Base_Directory
input.startsWith("Hint: ") and input.endsWith("[SuccessX]")

proc getFileDir(filename: string): string =
Expand Down

0 comments on commit 7e72dab

Please sign in to comment.