Fix log commit hash newline (#9897)

* Added trim operation before commitHash is returned

* Update utils.ts

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
amadeo-alex
2021-11-30 05:24:36 +01:00
committed by GitHub
parent 290a0312d4
commit df182be21f
+1
View File
@@ -70,6 +70,7 @@ async function getZigbee2MQTTVersion(includeCommitHash=true): Promise<{commitHas
commitHash = commit.shortHash;
}
commitHash = commitHash.trim();
resolve({commitHash, version});
});
});