Skip to content

Commit b2c8e59

Browse files
committed
fix regexp
1 parent 017b3a1 commit b2c8e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward_engineering/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const addCommentsSigns = (string, format) => {
130130
}
131131

132132
const removeCommentLines = (scriptString) => {
133-
const isCommentedLine = /\s*#/i;
133+
const isCommentedLine = /^\s*#\s+/i;
134134

135135
return scriptString
136136
.split('\n')

0 commit comments

Comments
 (0)