mirror of https://github.com/actions/setup-go.git
fix tests and change to dirname
This commit is contained in:
parent
ac150f8555
commit
865dc0ce0e
|
@ -85,7 +85,7 @@ describe('setup-go', () => {
|
|||
});
|
||||
logSpy.mockImplementation(line => {
|
||||
// uncomment to debug
|
||||
process.stderr.write('log:' + line + '\n');
|
||||
// process.stderr.write('log:' + line + '\n');
|
||||
});
|
||||
dbgSpy.mockImplementation(msg => {
|
||||
// uncomment to see debug output
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -53,7 +53,7 @@ export async function run() {
|
|||
}
|
||||
|
||||
// add problem matchers
|
||||
const matchersPath = path.join(process.cwd(), 'matchers.json');
|
||||
const matchersPath = path.join(__dirname, '../..', 'matchers.json');
|
||||
core.info(`##[add-matcher]${matchersPath}`);
|
||||
|
||||
// output the version actually being used
|
||||
|
|
Loading…
Reference in New Issue