Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
i582 committed Feb 16, 2025
1 parent 539111a commit 6e8d6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fift/compileFift.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
import fs, {readFileSync} from "node:fs"
import fs from "node:fs"

const CompilerModule = require("./funcfiftlib.js")

Expand Down Expand Up @@ -90,7 +90,7 @@ export async function compileFift(
})

function addDebugInfoHelper(content: string) {
const asmFile = readFileSync(`${__dirname}/AsmWithDebugInfo.fif`).toString()
const asmFile = fs.readFileSync(`${__dirname}/AsmWithDebugInfo.fif`).toString()
return asmFile + "\n\n" + content
}

Expand Down

0 comments on commit 6e8d6ed

Please sign in to comment.