MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / writeAutoLaunch

Function writeAutoLaunch

src/test/dart/debug/autolaunch.test.ts:212–215  ·  view source on GitHub ↗
(filePath: string, launchConfig?: any)

Source from the content-addressed store, hash-verified

210}
211
212async function writeAutoLaunch(filePath: string, launchConfig?: any) {
213 const launchConfigs = launchConfig ? { configurations: [launchConfig] } : { configurations: [] };
214 await fs.promises.writeFile(filePath, JSON.stringify(launchConfigs));
215}
216
217function createAutoLaunch(overridePath?: string) {
218 const autoLaunch = new AutoLaunch(overridePath ?? testDartCodeConfigFolder, logger, undefined);

Callers 2

autolaunch.test.tsFile · 0.85
triggerAutoLaunchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected