mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-02 01:51:38 +00:00
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:
@@ -70,6 +70,7 @@ async function getZigbee2MQTTVersion(includeCommitHash=true): Promise<{commitHas
|
||||
commitHash = commit.shortHash;
|
||||
}
|
||||
|
||||
commitHash = commitHash.trim();
|
||||
resolve({commitHash, version});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user