Skip to content

Commit

Permalink
path.normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Menzorg committed Jul 7, 2023
1 parent cad07dd commit 560af9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Debug from 'debug';
import fixPath from 'fix-path';
import { fileURLToPath } from 'url';

const packageJson = require(`${process.cwd()}/package.json`);
const packageJson = require(path.normalize(`${process.cwd()}/package.json`));

function isElectron() {
// @ts-ignore
Expand Down

0 comments on commit 560af9f

Please sign in to comment.