mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
Fix edit-docs nx error
This commit is contained in:
@@ -17,7 +17,7 @@ function getElectronVersion(distDir: string) {
|
|||||||
|
|
||||||
const packageJsonPath = join(distDir, "package.json");
|
const packageJsonPath = join(distDir, "package.json");
|
||||||
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
|
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
|
||||||
return packageJson.devDependencies.electron;
|
return packageJson.dependencies.electron;
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user