Skip to content

Commit 8e559a1

Browse files
committed
remove redundant filter
1 parent a8a46ba commit 8e559a1

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/git.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@ type GitOptions = {
99
};
1010

1111
const push = async (branch: string, options: GitOptions) => {
12-
await exec(
13-
"git",
14-
["push", "origin", `HEAD:${branch}`, "--force"].filter<string>(
15-
Boolean as any
16-
),
17-
options
18-
);
12+
await exec("git", ["push", "origin", `HEAD:${branch}`, "--force"], options);
1913
};
2014

2115
const switchToMaybeExistingBranch = async (

0 commit comments

Comments
 (0)