From d96c3da8d50562b709ea674563dc79e10149c215 Mon Sep 17 00:00:00 2001 From: Kiall Mac Innes Date: Tue, 13 Aug 2019 19:03:08 +0100 Subject: [PATCH] Fix commit hash output in version info (#1855) --- lib/util/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/utils.js b/lib/util/utils.js index e577a0e1..3d7feef5 100644 --- a/lib/util/utils.js +++ b/lib/util/utils.js @@ -91,7 +91,7 @@ function getZigbee2mqttVersion(callback) { if (err) { try { - commitHash = require('../.hash.json').hash; + commitHash = require('../../.hash.json').hash; } catch (error) { commitHash = 'unknown'; }