mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 21:41:06 +08:00
Add info for completeness (#111)
* Add info for completeness * Linting * Missing import
This commit is contained in:
parent
a6e7249776
commit
ef4525e9dd
@ -1,5 +1,6 @@
|
||||
import {issue, issueCommand} from './command'
|
||||
|
||||
import * as os from 'os'
|
||||
import * as path from 'path'
|
||||
|
||||
/**
|
||||
@ -131,6 +132,14 @@ export function warning(message: string): void {
|
||||
issue('warning', message)
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes info to log with console.log.
|
||||
* @param message info message
|
||||
*/
|
||||
export function info(message: string): void {
|
||||
process.stdout.write(message + os.EOL)
|
||||
}
|
||||
|
||||
/**
|
||||
* Begin an output group.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user