From d635f7362d973ce5318ed6fb0428effc649bd62e Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 26 Oct 2020 01:37:12 +0100 Subject: [PATCH] Fix format --- src/meta.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meta.ts b/src/meta.ts index 8288ba1..c8bb127 100644 --- a/src/meta.ts +++ b/src/meta.ts @@ -6,8 +6,8 @@ import {Context} from '@actions/github/lib/context'; import {ReposGetResponseData} from '@octokit/types'; export interface Version { - version: string | undefined, - latest: boolean + version: string | undefined; + latest: boolean; } export class Meta { @@ -38,7 +38,7 @@ export class Meta { date: function (format) { return moment(currentDate).utc().format(format); } - }) + }); } else if (/^refs\/tags\//.test(this.context.ref)) { const tag = this.context.ref.replace(/^refs\/tags\//g, '').replace(/\//g, '-'); const sver = semver.clean(tag);