Prefer core.info to console.log
parent
156a9de7eb
commit
781ac591a8
|
|
@ -383,8 +383,7 @@ const remote_client_1 = __webpack_require__(95575);
|
||||||
class CLI {
|
class CLI {
|
||||||
static RunCli(options) {
|
static RunCli(options) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// eslint-disable-next-line no-console
|
core.info(`Entrypoint: ${options.mode}`);
|
||||||
console.log(`Entrypoint: ${options.mode}`);
|
|
||||||
if (options.mode === 'remote-cli') {
|
if (options.mode === 'remote-cli') {
|
||||||
yield remote_client_1.RemoteClient.Run(options);
|
yield remote_client_1.RemoteClient.Run(options);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -5,8 +5,7 @@ import { RemoteClient } from './remote-client';
|
||||||
|
|
||||||
export class CLI {
|
export class CLI {
|
||||||
static async RunCli(options: any) {
|
static async RunCli(options: any) {
|
||||||
// eslint-disable-next-line no-console
|
core.info(`Entrypoint: ${options.mode}`);
|
||||||
console.log(`Entrypoint: ${options.mode}`);
|
|
||||||
|
|
||||||
if (options.mode === 'remote-cli') {
|
if (options.mode === 'remote-cli') {
|
||||||
await RemoteClient.Run(options);
|
await RemoteClient.Run(options);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue