mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Wrap with debug
This commit is contained in:
parent
008bf69458
commit
397fc01782
@ -1,4 +1,4 @@
|
||||
import {isDebug} from '@actions/core'
|
||||
import {debug, isDebug} from '@actions/core'
|
||||
import {exec} from '@actions/exec'
|
||||
|
||||
let output: string
|
||||
@ -21,7 +21,7 @@ export async function execute(cmd: string, cwd: string): Promise<any> {
|
||||
}
|
||||
})
|
||||
|
||||
return Promise.resolve(output)
|
||||
return Promise.resolve(debug(output))
|
||||
}
|
||||
|
||||
export function stdout(data: any): string | void {
|
||||
|
Loading…
Reference in New Issue
Block a user