mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 21:18:43 +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) {
|
||||
console.log('Build info path:', buildInfoPath);
|
||||
try {
|
||||
buildInfo = fs.readFileSync(buildInfoPath);
|
||||
buildInfo = JSON.parse(fs.readFileSync(buildInfoPath));
|
||||
} catch (e) {
|
||||
buildInfo = DEFAULT_BUILD_INFO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue