Skip to content

Commit

Permalink
Adding a missing .js extension
Browse files Browse the repository at this point in the history
Some module loaders (like the default module loader in GraalVM) is not able to resolve this import otherwise.
  • Loading branch information
iamstolis authored and marijnh committed Apr 19, 2022
1 parent 5cc8280 commit b4b3122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acorn/src/tokenize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Parser} from "./state.js"
import {SourceLocation} from "./locutil.js"
import {RegExpValidationState} from "./regexp.js"
import {lineBreak, nextLineBreak, isNewLine, nonASCIIwhitespace} from "./whitespace.js"
import {codePointToString} from "./util"
import {codePointToString} from "./util.js"

// Object type used to represent tokens. Note that normally, tokens
// simply exist as properties on the parser object. This is only
Expand Down

0 comments on commit b4b3122

Please sign in to comment.