From b05738788e10b17ef8f921ed771f848aef65aaed Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Tue, 21 May 2019 15:26:44 -0400 Subject: [PATCH] Rename command import in core.ts --- packages/core/src/core.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/src/core.ts b/packages/core/src/core.ts index 9fb0d782..408b9ad1 100644 --- a/packages/core/src/core.ts +++ b/packages/core/src/core.ts @@ -1,5 +1,5 @@ import {ExitCode} from '@actions/exit' -import * as intm from './command' +import {issue, issueCommand} from './command' /** * Interface for getInput options @@ -20,7 +20,7 @@ export interface InputOptions { */ export function exportVariable(name: string, val: string) { process.env[name] = val - intm.issueCommand('set-env', {name}, val) + issueCommand('set-env', {name}, val) } /** @@ -30,7 +30,7 @@ export function exportVariable(name: string, val: string) { */ export function exportSecret(name: string, val: string) { exportVariable(name, val) - intm.issueCommand('set-secret', {}, val) + issueCommand('set-secret', {}, val) } /** @@ -80,7 +80,7 @@ export function setFailed(message: string) { * @param message debug message */ export function debug(message: string) { - intm.issueCommand('debug', {}, message) + issueCommand('debug', {}, message) } /** @@ -88,7 +88,7 @@ export function debug(message: string) { * @param message error issue message */ export function error(message: string) { - intm.issue('error', message) + issue('error', message) } /** @@ -96,5 +96,5 @@ export function error(message: string) { * @param message warning issue message */ export function warning(message: string) { - intm.issue('warning', message) + issue('warning', message) }