File tree Expand file tree Collapse file tree
test/vscode-tests/cli-integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ export async function getQuickEvalContext(
455455 const quickEvalPosition = await getSelectedPosition ( editor , range ) ;
456456 let quickEvalText : string ;
457457 if ( ! editor . selection ?. isEmpty ) {
458- quickEvalText = editor . document . getText ( editor . selection ) ;
458+ quickEvalText = editor . document . getText ( editor . selection ) . trim ( ) ;
459459 } else {
460460 // capture the entire line if the user didn't select anything
461461 const line = editor . document . lineAt ( editor . selection . active . line ) ;
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ export class DebugController
211211
212212 public async createLaunchJson ( config : QLDebugConfiguration ) : Promise < void > {
213213 const launchJsonPath = join (
214- workspace . workspaceFolders ! [ 0 ] . uri . fsPath ,
214+ getOnDiskWorkspaceFolders ( ) [ 0 ] ,
215215 ".vscode/launch.json" ,
216216 ) ;
217217
You can’t perform that action at this time.
0 commit comments