mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Fix edit-docs nx error
This commit is contained in:
parent
f80d06a61f
commit
8f524f4529
@ -17,7 +17,7 @@ function getElectronVersion(distDir: string) {
|
||||
|
||||
const packageJsonPath = join(distDir, "package.json");
|
||||
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
|
||||
return packageJson.devDependencies.electron;
|
||||
return packageJson.dependencies.electron;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user