Prefer core.info to console.log

pull/310/head
Frostebite 2021-12-29 14:36:55 +00:00
parent 156a9de7eb
commit 781ac591a8
3 changed files with 3 additions and 5 deletions

3
dist/index.js vendored
View File

@ -383,8 +383,7 @@ const remote_client_1 = __webpack_require__(95575);
class CLI {
static RunCli(options) {
return __awaiter(this, void 0, void 0, function* () {
// eslint-disable-next-line no-console
console.log(`Entrypoint: ${options.mode}`);
core.info(`Entrypoint: ${options.mode}`);
if (options.mode === 'remote-cli') {
yield remote_client_1.RemoteClient.Run(options);
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,7 @@ import { RemoteClient } from './remote-client';
export class CLI {
static async RunCli(options: any) {
// eslint-disable-next-line no-console
console.log(`Entrypoint: ${options.mode}`);
core.info(`Entrypoint: ${options.mode}`);
if (options.mode === 'remote-cli') {
await RemoteClient.Run(options);