Prefer core.info to console.log
parent
156a9de7eb
commit
781ac591a8
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue