Skip to content

Commit 56f3b40

Browse files
committed
fix: use pretty-error
1 parent 418960c commit 56f3b40

File tree

4 files changed

+168
-1
lines changed

4 files changed

+168
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@actions/core": "^1.2.6",
2929
"axios": "^0.20.0",
3030
"github-label-sync": "github:EndBug/github-label-sync#typings-usable",
31+
"pretty-error": "^2.1.1",
3132
"yamljs": "^0.3.0"
3233
},
3334
"devDependencies": {

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require('pretty-error').start()
2+
13
import core, { getInput, setFailed } from '@actions/core'
24
import githubLabelSync, { LabelInfo } from 'github-label-sync'
35
import fs from 'fs'

0 commit comments

Comments
 (0)