File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ export class SpecifyScriptArgsFeature implements IFeature {
149
149
}
150
150
151
151
if ( this . emptyInputBoxBugFixed ) {
152
- let prevArgs = this . context . globalState . get ( powerShellDbgScriptArgsKey , '' ) ;
152
+ let prevArgs = this . context . workspaceState . get ( powerShellDbgScriptArgsKey , '' ) ;
153
153
if ( prevArgs . length > 0 ) {
154
154
options . value = prevArgs ;
155
155
}
@@ -159,7 +159,7 @@ export class SpecifyScriptArgsFeature implements IFeature {
159
159
// When user cancel's the input box (by pressing Esc), the text value is undefined.
160
160
if ( text !== undefined ) {
161
161
if ( this . emptyInputBoxBugFixed ) {
162
- this . context . globalState . update ( powerShellDbgScriptArgsKey , text ) ;
162
+ this . context . workspaceState . update ( powerShellDbgScriptArgsKey , text ) ;
163
163
}
164
164
return new Array ( text ) ;
165
165
}
You can’t perform that action at this time.
0 commit comments