Skip to content

Commit 11f2053

Browse files
committed
one or more spaces
1 parent 3bf3c93 commit 11f2053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_invocations2/grasshopper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def publish_yak(ctx, yak_file: str, test_server: bool = False):
213213

214214

215215
def _is_header_line(line: str) -> bool:
216-
return re.match(r"^#\s*(r|venv|env):", line) is not None
216+
return re.match(r"^#\s+(r|venv|env):", line) is not None
217217

218218

219219
@invoke.task(

0 commit comments

Comments
 (0)