From 49cb4a2242b316b1f53b60050935c7e68a789d5c Mon Sep 17 00:00:00 2001 From: GitHub Actions <> Date: Sun, 23 Jul 2023 16:25:45 -0400 Subject: [PATCH] debuggggggggggggg --- build/index.js | 3 ++- index.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/index.js b/build/index.js index 7b2def7..a7b8e16 100644 --- a/build/index.js +++ b/build/index.js @@ -53,7 +53,8 @@ const execute = async (command, options = {}) => { const run = async () => { const requirementsContent = "rstfmt==0.0.13\n"; fs.writeFileSync("./requirements.txt", requirementsContent); - await execute("ls"); // For debugging + // type "ls" on the command line and execute it: + await execute("echo $HOME", { silent: true }); await execute("pip install -r requirements.txt", { silent: true }); const filesPattern = core.getInput("files") || "**/*.rst"; const commitString = core.getInput("commit") || "true"; diff --git a/index.ts b/index.ts index 7bd7cd0..c2c69e7 100644 --- a/index.ts +++ b/index.ts @@ -29,7 +29,9 @@ const execute = async ( const run = async () => { const requirementsContent = "rstfmt==0.0.13\n"; fs.writeFileSync("./requirements.txt", requirementsContent); - await execute("ls"); // For debugging + // type "ls" on the command line and execute it: + await execute("echo $HOME", { silent: true }); + await execute("pip install -r requirements.txt", { silent: true });