Skip to content

Commit

Permalink
Fix "log is not a function" error
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Oct 30, 2020
1 parent 63ee2a9 commit 409fc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { views } from '../ui'
const { webview } = views.tags

function consoleLog (e) {
let log
let log = console.log
if (e.level === 0) {
log = console.log
} else if (e.level === 1) {
Expand Down

0 comments on commit 409fc49

Please sign in to comment.