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

Commit 00cdfdc

Browse files
committed
feat: Allow adding comments within the outputed text for a deployment
1 parent 500c9cb commit 00cdfdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util.nim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ proc getDotfileList*(options: Options): seq[array[2, string]] =
9696

9797
var dotfiles = newSeq[array[2, string]]()
9898
for line in filter(cmdResult.output.split('\n'), proc(line: string): bool = not isEmptyOrWhitespace(line)):
99+
if line[0] == '#':
100+
continue
101+
99102
let lineParts = line.split(':')
100103
if len(lineParts) < 1:
101104
die fmt"Line '{line}' must have one colon, but none were found"

0 commit comments

Comments
 (0)