Avoid unnecessary calls to version

This commit is contained in:
CrazyMax 2020-12-01 05:32:44 +01:00
parent c53f88523a
commit 548cd716e8
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 19 additions and 17 deletions

View file

@ -44,7 +44,7 @@ const tagsLabelsTest = async (envFile: string, inputs: Inputs, exVersion: Versio
const repo = await github.repo(process.env.GITHUB_TOKEN || '');
const meta = new Meta({...getInputs(), ...inputs}, context, repo);
const version = meta.version();
const version = meta.version;
console.log('version', version);
expect(version).toEqual(exVersion);