From 72615645bbaa5ce1ab111373b7a78db46fde2f6c Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Wed, 3 Aug 2022 11:32:42 +0200 Subject: [PATCH] Format code --- dist/setup/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index a5ae4a27..0407c1ce 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71776,7 +71776,7 @@ function parseNodeVersionFile(contents) { nodeVersion = (_a = JSON.parse(contents).engines) === null || _a === void 0 ? void 0 : _a.node; } catch (_c) { - core.warning("Node version file is not JSON file"); + core.warning('Node version file is not JSON file'); } if (!nodeVersion) { try { diff --git a/src/installer.ts b/src/installer.ts index c724c6f6..c74fbc97 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -502,7 +502,7 @@ export function parseNodeVersionFile(contents: string): string { try { nodeVersion = JSON.parse(contents).engines?.node; } catch { - core.warning("Node version file is not JSON file") + core.warning('Node version file is not JSON file'); } if (!nodeVersion) {