Skip to content

Commit 70245d8

Browse files
committed
Allow arguments to cm push
1 parent 2794986 commit 70245d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/cm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ function commit(...args) {
295295
}
296296
}
297297

298-
function push() {
298+
function push(...args) {
299299
for (let pkg of packages) {
300300
if (/\bahead\b/.test(run("git", ["status", "-sb"], pkg.dir)))
301-
run("git", ["push"], pkg.dir)
301+
run("git", ["push", ...args], pkg.dir)
302302
}
303303
}
304304

0 commit comments

Comments
 (0)