We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a7e3e commit 7b58a91Copy full SHA for 7b58a91
src/utilities/log.js
@@ -1,7 +1,7 @@
1
import Gist from '../gist';
2
3
export function log(message) {
4
- if (Gist.config.logging) {
+ if (Gist.config && Gist.config.logging) {
5
console.log(`Gist: ${message}`);
6
}
7
0 commit comments