Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 77ca00e

Browse files
AuHaudirkmc
andauthored
Default paramaters
Co-Authored-By: dirkmc <[email protected]>
1 parent 4ab9c4d commit 77ca00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const log = require('debug')('repo-migrations:cli')
99

1010
const commands = require('./commands')
1111

12-
function print (msg, newline) {
12+
function print (msg = '', newline = true) {
1313
if (newline === undefined) {
1414
newline = true
1515
}

0 commit comments

Comments
 (0)