diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index d98e4d7c..f7f17430 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -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. *