From ea494583fd97ce01b2dca470e65c2bcaf3e37465 Mon Sep 17 00:00:00 2001 From: Rin Date: Sun, 17 Mar 2024 19:21:39 +0800 Subject: [PATCH] Revert "fix spawn not defined" This reverts commit 10349174a88ddad27e5a97db9655ed0a1b40ee90. --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3e8757b..7a3dc0b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30892,7 +30892,7 @@ const core = __nccwpck_require__(3877); const github = __nccwpck_require__(5585); const fs = __nccwpck_require__(7147); const path = __nccwpck_require__(1017); -const { spawnSync,spawn } = __nccwpck_require__(2081); +const { spawnSync } = __nccwpck_require__(2081); const expandHomeDir = __nccwpck_require__(3839); function show_message(type, message) { diff --git a/index.js b/index.js index 54c3327..c76d5c4 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ const core = require("@actions/core"); const github = require("@actions/github"); const fs = require("fs"); const path = require("path"); -const { spawnSync,spawn } = require("child_process"); +const { spawnSync } = require("child_process"); const expandHomeDir = require("expand-home-dir"); function show_message(type, message) {