Skip to content

Commit ab1edaf

Browse files
committed
chore: Linting.
1 parent 57eac05 commit ab1edaf

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/tools/bin/generate-version-pr.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,11 @@ const constantsPath = join(__dirname, "..", "structure", "constants.ts");
162162
async function doPr(description: string, newVersion: string) {
163163
// If the branch exists, check if the diff is the same as the version bump
164164
const title = `chore: Bump version to ${newVersion}.`;
165-
const lastCommitToAutomated = runCommandAndGetOutput("git", [
166-
"log",
167-
"-1",
168-
"--pretty=%B",
169-
"automated-bump",
170-
], false);
165+
const lastCommitToAutomated = runCommandAndGetOutput(
166+
"git",
167+
["log", "-1", "--pretty=%B", "automated-bump"],
168+
false
169+
);
171170
if (lastCommitToAutomated.includes(title)) {
172171
console.log("Last commit to automated-bump is the same as the version bump, skipping PR");
173172
return;

0 commit comments

Comments
 (0)