mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-25 23:38:03 +08:00
Add info for completeness (#111)
* Add info for completeness * Linting * Missing import
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import {issue, issueCommand} from './command'
|
import {issue, issueCommand} from './command'
|
||||||
|
|
||||||
|
import * as os from 'os'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -131,6 +132,14 @@ export function warning(message: string): void {
|
|||||||
issue('warning', message)
|
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.
|
* Begin an output group.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user