From 25bb0cc0fb2088b3564bb557abcdc3e33721186d Mon Sep 17 00:00:00 2001 From: axiosleo Date: Fri, 3 Jan 2025 14:27:51 +0800 Subject: [PATCH] chore: eslint disable for lines --- src/workflow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workflow.js b/src/workflow.js index f4960b2..28ff4c8 100644 --- a/src/workflow.js +++ b/src/workflow.js @@ -1,5 +1,3 @@ -/* eslint-disable no-console */ -'use strict'; const os = require('os'); const { printer } = require('@axiosleo/cli-tool'); @@ -127,6 +125,7 @@ function showDebugInfo(context, location, error) { printer.yellow(_fixed('requestID', wide)).print(': ').println(context.request_id); if (!error) { printer.yellow('responseData').print(': '); + // eslint-disable-next-line no-console console.log(context.response.data); } if (location && location.indexOf('node:internal') === -1) { @@ -200,6 +199,7 @@ function response(context) { if (error) { showDebugInfo(context, '', error); printer.red('requestError').print(': '); + // eslint-disable-next-line no-console console.log(error); } if (context.app.config.debug && !error) {