mirror of
https://github.com/github/spec-kit.git
synced 2026-07-06 22:32:13 +08:00
address review: quote paths in test shell commands
Quote both the Python executable and script file paths in the run: commands to handle spaces in paths on Windows.
This commit is contained in:
@@ -1934,7 +1934,7 @@ steps:
|
||||
steps:
|
||||
- id: attempt
|
||||
type: shell
|
||||
run: {py} {script_file}
|
||||
run: '"{py}" "{script_file}"'
|
||||
"""
|
||||
definition = WorkflowDefinition.from_string(yaml_str)
|
||||
engine = WorkflowEngine(project_dir)
|
||||
@@ -1985,7 +1985,7 @@ steps:
|
||||
steps:
|
||||
- id: attempt
|
||||
type: shell
|
||||
run: {py} {script_file}
|
||||
run: '"{py}" "{script_file}"'
|
||||
"""
|
||||
definition = WorkflowDefinition.from_string(yaml_str)
|
||||
engine = WorkflowEngine(project_dir)
|
||||
@@ -2031,7 +2031,7 @@ steps:
|
||||
steps:
|
||||
- id: tick
|
||||
type: shell
|
||||
run: {py} {script_file}
|
||||
run: '"{py}" "{script_file}"'
|
||||
"""
|
||||
definition = WorkflowDefinition.from_string(yaml_str)
|
||||
engine = WorkflowEngine(project_dir)
|
||||
@@ -2083,7 +2083,7 @@ steps:
|
||||
steps:
|
||||
- id: tick
|
||||
type: shell
|
||||
run: {py} {script_file}
|
||||
run: '"{py}" "{script_file}"'
|
||||
"""
|
||||
definition = WorkflowDefinition.from_string(yaml_str)
|
||||
engine = WorkflowEngine(project_dir)
|
||||
|
||||
Reference in New Issue
Block a user