Skip to content

Commit 964e7c5

Browse files
committed
Fix bug: split command
1 parent dac9b9f commit 964e7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func pack(filePath, dirPath string) error {
113113
defer cmdfile.Close()
114114

115115
scanner := bufio.NewScanner(cmdfile)
116-
scanner.Split(bufio.ScanWords)
116+
scanner.Split(bufio.ScanLines)
117117

118118
for scanner.Scan() {
119119
txt := scanner.Text()

0 commit comments

Comments
 (0)