Skip to content

Commit

Permalink
Arg lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Aug 23, 2023
1 parent 59330a7 commit d6f3cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/configprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class CortexDebugConfigurationProvider implements vscode.DebugConfigurati
// Right now, we don't consider a bad executable as fatal. Technically, you don't need an executable but
// users will get a horrible debug experience ... so many things don't work.
const def = defSymbolFile(config.executable);
const symFiles: SymbolFile[] = config.symbolFiles?.map((v) => { return typeof v === 'string' ? defSymbolFile(v) : v}) || [def];
const symFiles: SymbolFile[] = config.symbolFiles?.map((v) => typeof v === 'string' ? defSymbolFile(v) : v) || [def];
if (!symFiles || (symFiles.length === 0)) {
vscode.window.showWarningMessage('No "executable" or "symbolFiles" specified. We will try to run program without symbols');
} else {
Expand Down

0 comments on commit d6f3cde

Please sign in to comment.