Skip to content

Commit b644bb6

Browse files
committed
Merge branch 'dev'
2 parents 51e31a0 + fac07c7 commit b644bb6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/logline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ return /******/ (function(modules) { // webpackBootstrap
168168
return this;
169169
}
170170

171-
Logline.database(database);
171+
Logline.database(database || Logline._database);
172172
Logline._initProtocol(protocol);
173173
return this;
174174
}

dist/logline.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Logline {
6363
return this;
6464
}
6565

66-
Logline.database(database);
66+
Logline.database(database || Logline._database);
6767
Logline._initProtocol(protocol);
6868
return this;
6969
}

src/logline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Logline {
6363
return this;
6464
}
6565

66-
Logline.database(database);
66+
Logline.database(database || Logline._database);
6767
Logline._initProtocol(protocol);
6868
return this;
6969
}

0 commit comments

Comments
 (0)