Skip to content

Commit

Permalink
fix: fix typo in --fully-static support code (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored Sep 5, 2024
1 parent 1a70fc4 commit 5c71a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async function compileNode (
}
let source = await fs.readFile(target, 'utf8');
source = source.replace(/-static/g, '');
await fs.writeFile(target, 'utf8');
await fs.writeFile(target, source);
}
}

Expand Down

0 comments on commit 5c71a18

Please sign in to comment.