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 });