diff --git a/src/console/index.ts b/src/console/index.ts index 5910523..e7868da 100644 --- a/src/console/index.ts +++ b/src/console/index.ts @@ -11,7 +11,7 @@ function setPort(port: number) { if (!env.scriptUri) { return; } - tools.fs.writeFile(env.scriptUri, '.log/helper_port.lua', `return ${port}`); + tools.fs.writeFile(env.scriptUri, 'log/helper_port.lua', `return ${port}`); } let server: ConsoleServer | undefined; diff --git a/src/debug.ts b/src/debug.ts index 274cf4b..fb7286a 100644 --- a/src/debug.ts +++ b/src/debug.ts @@ -34,7 +34,7 @@ export function init(context: vscode.ExtensionContext) { if (!env.scriptUri) { return; } - tools.fs.writeFile(env.scriptUri, '.log/debugger_path.lua', `return [[${debuggerContext.extensionUri.fsPath}]]`); + tools.fs.writeFile(env.scriptUri, 'log/debugger_path.lua', `return [[${debuggerContext.extensionUri.fsPath}]]`); } update_debugger_path();