Skip to content

Commit dba5275

Browse files
committed
fix: use the appropriate configPath variable name when writing to .cs-launch.json config file
1 parent 45d91e5 commit dba5275

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/adapters/base-class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export default class BaseClass {
394394
data.project = this.config.currentConfig;
395395
}
396396

397-
writeFileSync(this.config.configName, JSON.stringify(data), {
397+
writeFileSync(this.config.config, JSON.stringify(data), {
398398
encoding: 'utf8',
399399
flag: 'w',
400400
});

src/types/launch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type ConfigType = {
3030
cwd?: string;
3131
host: string;
3232
branch?: string;
33-
config?: string;
33+
config: string;
3434
authType: string;
3535
flags: FlagInput;
3636
framework?: string;

0 commit comments

Comments
 (0)