Skip to content

Commit

Permalink
debug aGAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jul 23, 2023
1 parent 49f64c0 commit 735d250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ 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
await execute("pip install -r requirements.txt", { silent: true });
const filesPattern = core.getInput("files") || "**/*.rst";
const commitString = core.getInput("commit") || "true";
Expand Down
8 changes: 1 addition & 7 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ const execute = async (
const run = async () => {
const requirementsContent = "rstfmt==0.0.13\n";
fs.writeFileSync("./requirements.txt", requirementsContent);
// type ls:
const { err, stdOut, stdErr } = await execute("ls", { silent: true });
if (err) {
core.setFailed(stdErr);
} else {
core.info(stdOut);
}
await execute("ls"); // For debugging

await execute("pip install -r requirements.txt", { silent: true });

Expand Down

0 comments on commit 735d250

Please sign in to comment.