From 560af9f8bcd83915c82b93c31a0df46dc962f466 Mon Sep 17 00:00:00 2001 From: menzorg Date: Fri, 7 Jul 2023 06:20:15 +0300 Subject: [PATCH] path.normalize --- imports/engine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/engine.ts b/imports/engine.ts index 0e35f907..64d9803b 100644 --- a/imports/engine.ts +++ b/imports/engine.ts @@ -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