mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-25 01:29:26 +08:00
Cleanup
This commit is contained in:
+1
-2
@@ -1,4 +1,4 @@
|
||||
import {debug, getInput, setOutput, setFailed, getState} from '@actions/core'
|
||||
import {debug, getInput, setFailed, getState} from '@actions/core'
|
||||
import {ensureYarnIsInstalled} from './yarn'
|
||||
import {run} from './run'
|
||||
|
||||
@@ -12,7 +12,6 @@ const main = async () => {
|
||||
debug(`Running "${cmd}" command`)
|
||||
|
||||
await run(cmd, {cwd})
|
||||
setOutput(cmd, 'Done')
|
||||
} catch (error) {
|
||||
if (error instanceof Error) setFailed(error.message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user