Skip to content

Commit 3408055

Browse files
authored
Fix running the compiler on Windows (#12)
Co-authored-by: amylizzle <amylizzle@users.noreply.github.com>
1 parent 791ce5b commit 3408055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class ODBinaryDistribution implements OpenDreamInstallation {
317317
};
318318

319319
const compilerPath = `${this.path}/DMCompiler_${getArchSuffix()}/DMCompiler${os.platform() === "win32" ? ".exe" : ""}`;
320-
let compileProcess = spawn(compilerPath, [dme], { cwd: workspaceFolder.path });
320+
let compileProcess = spawn(compilerPath, [dme], { cwd: workspaceFolder.fsPath });
321321

322322
compileProcess.on('close', (code) => {
323323
console.log(`Compiler process exited with code ${code}`);

0 commit comments

Comments
 (0)