fix tests and change to dirname

pull/228/head
Dmitry Shibanov 3 years ago
parent ac150f8555
commit 865dc0ce0e

@ -85,7 +85,7 @@ describe('setup-go', () => {
}); });
logSpy.mockImplementation(line => { logSpy.mockImplementation(line => {
// uncomment to debug // uncomment to debug
process.stderr.write('log:' + line + '\n'); // process.stderr.write('log:' + line + '\n');
}); });
dbgSpy.mockImplementation(msg => { dbgSpy.mockImplementation(msg => {
// uncomment to see debug output // uncomment to see debug output

File diff suppressed because it is too large Load Diff

5044
dist/setup/index.js vendored

File diff suppressed because it is too large Load Diff

@ -53,7 +53,7 @@ export async function run() {
} }
// add problem matchers // add problem matchers
const matchersPath = path.join(process.cwd(), 'matchers.json'); const matchersPath = path.join(__dirname, '../..', 'matchers.json');
core.info(`##[add-matcher]${matchersPath}`); core.info(`##[add-matcher]${matchersPath}`);
// output the version actually being used // output the version actually being used

Loading…
Cancel
Save