Skip to content

Commit 3173ae7

Browse files
committed
Default setting branch to undefined in Knock
1 parent 5127b57 commit 3173ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/src/knock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Knock {
4141
) {
4242
this.host = options.host || DEFAULT_HOST;
4343
this.logLevel = options.logLevel;
44-
this.branch = options.branch;
44+
this.branch = options.branch || undefined;
4545

4646
this.log("Initialized Knock instance");
4747

0 commit comments

Comments
 (0)