Changing problem matcher syntax to a new one

This commit is contained in:
svartalf 2019-10-22 14:49:39 +03:00
parent 2daac5e246
commit 6f09586277
3 changed files with 5 additions and 4 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -9,8 +9,9 @@
"test": "__tests__" "test": "__tests__"
}, },
"scripts": { "scripts": {
"build": "ncc build src/main.ts --minify", "bundle": "cp -r .matchers ./dist/",
"watch": "ncc build src/main.ts --watch --minify", "build": "ncc build src/main.ts --minify && npm run bundle",
"watch": "npm run bundle && ncc build src/main.ts --watch --minify",
"test": "jest" "test": "jest"
}, },
"repository": { "repository": {

View file

@ -25,7 +25,7 @@ export async function run(actionInput: input.Input): Promise<void> {
async function main(): Promise<void> { async function main(): Promise<void> {
const matchersPath = path.join(__dirname, '.matchers'); const matchersPath = path.join(__dirname, '.matchers');
console.log(`##[add-matcher]${path.join(matchersPath, 'rust.json')}`); console.log(`::add-matcher::${path.join(matchersPath, 'rust.json')}`);
const actionInput = input.get(); const actionInput = input.get();