mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-15 07:10:31 +00:00
format
This commit is contained in:
parent
a993e13330
commit
c213f030bb
2 changed files with 0 additions and 3 deletions
|
|
@ -34,7 +34,6 @@ describe('getRequestedVersion', () => {
|
|||
expect(v).toBe('v1.2.3');
|
||||
});
|
||||
|
||||
|
||||
it('parses .tool-versions and returns v-prefixed version', () => {
|
||||
const toolVersionsPath = path.join(tmpDir, '.tool-versions');
|
||||
fs.writeFileSync(toolVersionsPath, 'goreleaser 1.2.3\n');
|
||||
|
|
@ -97,5 +96,4 @@ describe('getRequestedVersion', () => {
|
|||
|
||||
expect(() => getRequestedVersion(inputs)).toThrow();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import * as core from '@actions/core';
|
||||
import * as fs from 'fs';
|
||||
import path from 'path';
|
||||
import {Inputs} from './context';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue