Skip to content

Commit

Permalink
Fixes for #147 #139 (#148)
Browse files Browse the repository at this point in the history
* Fixes for #147 #139

* Lint fixes
  • Loading branch information
tarunwadhwa-paypay authored Feb 28, 2022
1 parent eef3915 commit 9018bf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ module.exports = {
output += await execCmd(cmd, getRepoPath());
}
} catch (error) {
logger.error(error);
} finally {
if (!output.includes("Update file(s) from")) {
logger.error(error);
logger.error(output);
throw new Error("failed to commit changes");
}
Expand Down
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const init = (repoFullname) => {
"SKIP REMOVING FILES because `SKIP_DELETE` is set to `true`",
filePaths.map((f) => `"${f}"`).join(", ")
);
return;
}
logger.info("REMOVE FILES", filePaths);
if (DRY_RUN) {
Expand Down

0 comments on commit 9018bf4

Please sign in to comment.