Skip to content

Commit

Permalink
Merge branch 'main' into vite-6
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 7, 2024
2 parents 189f85d + d5b3b78 commit 6285557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ on:

jobs:
release:
permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x

node-version: lts/*
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion src/node/hijack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function hijackPlugin(
}

function parseError(error: any): ParsedError {
const stack = error.stack ? parseErrorStacks(error) : []
const stack = parseErrorStacks(error, { allowEmpty: true })
const message = error.message || String(error)
return {
message,
Expand Down

0 comments on commit 6285557

Please sign in to comment.