Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

Commit

Permalink
feat: Allow adding comments within the outputed text for a deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Oct 9, 2021
1 parent 500c9cb commit 00cdfdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util.nim
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ proc getDotfileList*(options: Options): seq[array[2, string]] =

var dotfiles = newSeq[array[2, string]]()
for line in filter(cmdResult.output.split('\n'), proc(line: string): bool = not isEmptyOrWhitespace(line)):
if line[0] == '#':
continue

let lineParts = line.split(':')
if len(lineParts) < 1:
die fmt"Line '{line}' must have one colon, but none were found"
Expand Down

0 comments on commit 00cdfdc

Please sign in to comment.