Skip to content

Commit

Permalink
Added an echo "y" | to the ASM compile command in order to get the …
Browse files Browse the repository at this point in the history
…script to terminate.
  • Loading branch information
philipabbey committed May 26, 2024
1 parent 0e4d399 commit bd73be9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scratch-vhdl-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"publisher": "JosephAbbey",
"displayName": "Scratch VHDL",
"description": "",
"version": "1.0.7",
"version": "1.0.9",
"license": "MIT",
"engines": {
"vscode": "^1.75.0"
Expand Down
5 changes: 3 additions & 2 deletions scratch-vhdl-vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export function activate(context: vscode.ExtensionContext) {
'Assemble',
'ScratchVHDL',
new vscode.ShellExecution(
`echo "y" | ${path.join(
vscode.wchorkspace.workspaceFile?.fsPath ?? '',
`${path.join(
'echo "y" | ',
vscode.workspace.workspaceFile?.fsPath ?? '',
'..',
configuration
.get<string>('scratch-vhdl-vscode.asm_compile_path')
Expand Down

0 comments on commit bd73be9

Please sign in to comment.