Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 8f524f4

Browse files
committed
Fix edit-docs nx error
1 parent f80d06a commit 8f524f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/electron-rebuild.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function getElectronVersion(distDir: string) {
1717

1818
const packageJsonPath = join(distDir, "package.json");
1919
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
20-
return packageJson.devDependencies.electron;
20+
return packageJson.dependencies.electron;
2121
}
2222

2323
function main() {

0 commit comments

Comments
 (0)