mirror of https://github.com/actions/toolkit
Add info for completeness (#111)
* Add info for completeness * Linting * Missing importpull/128/head
parent
a6e7249776
commit
ef4525e9dd
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue