Skip to content

Commit 0d07379

Browse files
committed
fix: wrong imports in error
1 parent 83eb19c commit 0d07379

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/cursor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as content from './content'
66
import * as parser from './parser'
77
import * as string from './util/string'
88
import * as nodeType from './node-type'
9-
import * as error from './util/error'
9+
import error from './util/error'
1010
import * as rangeSaveRestore from './range-save-restore'
1111

1212
/**

src/range-save-restore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import rangy from 'rangy'
2-
import * as error from './util/error'
2+
import error from './util/error'
33
import * as nodeType from './node-type'
44

55
/**

src/util/error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import config from '../config'
1+
import * as config from '../config'
22

33
// Allows for safe error logging
44
// Falls back to console.log if console.error is not available

0 commit comments

Comments
 (0)