mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-03 02:21:38 +00:00
Fix commit hash output in version info (#1855)
This commit is contained in:
committed by
Koen Kanters
parent
6abe7d2fd7
commit
d96c3da8d5
+1
-1
@@ -91,7 +91,7 @@ function getZigbee2mqttVersion(callback) {
|
||||
|
||||
if (err) {
|
||||
try {
|
||||
commitHash = require('../.hash.json').hash;
|
||||
commitHash = require('../../.hash.json').hash;
|
||||
} catch (error) {
|
||||
commitHash = 'unknown';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user