Skip to content

Commit

Permalink
fixup! module: improve error message for invalid data URL
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Mar 14, 2021
1 parent 95f4f16 commit a609fcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const {
ERR_INVALID_RETURN_PROPERTY,
ERR_INVALID_RETURN_PROPERTY_VALUE,
ERR_INVALID_RETURN_VALUE,
ERR_UNKNOWN_MODULE_FORMAT
} = require('internal/errors').codes;
const { URL, pathToFileURL } = require('internal/url');
const { validateString } = require('internal/validators');
Expand Down

0 comments on commit a609fcc

Please sign in to comment.