File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ function get_filename() {
99 if ( vscode . window . activeTextEditor ?. document . uri . path . includes ( pattern ) ) {
1010 vscode . window . showErrorMessage ( 'Error: path to file cannot contain sequence: ' + pattern )
1111 return 'Error: Pattern'
12+ } else if ( vscode . window . activeTextEditor ?. document . uri . path . includes ( ' ' ) ) {
13+ vscode . window . showErrorMessage ( 'Error: path to file cannot contain spaces' )
14+ return 'Error: Pattern'
1215 } else {
1316 return vscode . window . activeTextEditor ?. document . uri . path . split ( path . sep ) . join ( pattern )
1417 }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { EventEmitter } from 'events'
44import { logger } from 'vscode-debugadapter'
55import { DebugProtocol } from 'vscode-debugprotocol'
66import { Subject } from './subject'
7- import * as vscode from 'vscode'
87
98export interface DashmipsDebugClient {
109 on ( event : 'start' , listener : ( pid : { pid : number } ) => void ) : this
You can’t perform that action at this time.
0 commit comments