Skip to content

Commit

Permalink
exit already imported
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbe7a committed May 23, 2024
1 parent 50243b1 commit 23ed875
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import fs from 'fs/promises'
import os from 'os'
import path from 'path'
import { exit } from 'process'
import * as process from 'node:process'
import * as core from '@actions/core'
import { downloadTool } from '@actions/tool-cache'
import type { PixiSource } from './options'
Expand Down Expand Up @@ -144,4 +143,4 @@ run()
}
throw error
})
.then(process.exit(0)) // workaround for https://github.com/actions/toolkit/issues/1578
.then(exit(0)) // workaround for https://github.com/actions/toolkit/issues/1578

0 comments on commit 23ed875

Please sign in to comment.