Skip to content

Commit 7c50275

Browse files
committed
ensures default value for depth (defaulting to 3 for consistency)
1 parent 4cda4db commit 7c50275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const create = async (opts = {}) => {
6161
user,
6262
repo,
6363
path: paths.join('/'),
64-
depth
64+
depth = 3
6565
}))
6666

6767
const templatePkg = require(

0 commit comments

Comments
 (0)