Fix missing quotes.
This commit is contained in:
parent
c19916ff1c
commit
c1db993b92
@ -18,7 +18,7 @@ var fixUrl = require('./fix-url')
|
|||||||
function getCurrentUrl () {
|
function getCurrentUrl () {
|
||||||
/* global window: false */
|
/* global window: false */
|
||||||
|
|
||||||
if (typeof window === undefined) {
|
if (typeof window === 'undefined') {
|
||||||
throw new Error('cannot get current URL')
|
throw new Error('cannot get current URL')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user