mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:49:27 +02:00
Fix build info reading for console
This commit is contained in:
parent
ff22d98abf
commit
21db2862c7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ function getBuildInfo() {
|
||||||
if (buildInfoPath) {
|
if (buildInfoPath) {
|
||||||
console.log('Build info path:', buildInfoPath);
|
console.log('Build info path:', buildInfoPath);
|
||||||
try {
|
try {
|
||||||
buildInfo = fs.readFileSync(buildInfoPath);
|
buildInfo = JSON.parse(fs.readFileSync(buildInfoPath));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
buildInfo = DEFAULT_BUILD_INFO;
|
buildInfo = DEFAULT_BUILD_INFO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue