From ef4525e9ddfa812429fd0f8c82dfa8266c89ce9a Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 9 Sep 2019 11:46:48 -0400 Subject: [PATCH] Add info for completeness (#111) * Add info for completeness * Linting * Missing import --- packages/core/src/core.ts | 9 +++++++++ 1 file changed, 9 insertions(+) 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. *