Fix missing await

This commit is contained in:
Webber 2020-05-21 20:44:28 +02:00 committed by Webber Takken
parent 054c6bfab3
commit 0159028bb1

View File

@ -162,7 +162,7 @@ export default class Versioning {
* identifies the current commit.
*/
static async getVersionDescription() {
const commitIsh = this.getTag() || `origin/${this.branch}`;
const commitIsh = (await this.getTag()) || `origin/${this.branch}`;
return this.git(['describe', '--long', '--tags', '--always', '--debug', commitIsh]);
}