Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/internal/errors.js
Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
  • Loading branch information
MylesBorins and GeoffreyBooth authored Apr 21, 2020
commit 51de45b9a16b714536448e38e507b0e51b64a1b7
2 changes: 1 addition & 1 deletion lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ E('ERR_INVALID_PACKAGE_TARGET',
} else {
return `Invalid "exports" main target ${target} defined in the ` +
`package config ${pkgPath} imported from ${base}${relError ?
' - targets must start with "./"' : ''}`;
'; targets must start with "./"' : ''}`;
}
} else if (key === '.') {
return `Invalid "exports" main target ${JSONStringify(target)} defined ` +
Expand Down