Skip to content

Commit a78df35

Browse files
authored
i should REALLY stop using github.dev
1 parent 8d21cfb commit a78df35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ExportsFieldPlugin.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ module.exports = class ExportsFieldPlugin {
115115

116116
if (paths.length === 0) {
117117
const conditions = [...this.conditionNames];
118-
const conditionsStr =
119-
conditions.length === 1
120-
? `the condition "${conditions[0]}"`
121-
: `the conditions ${JSON.stringify(conditions)}`;
118+
const conditionsStr =
119+
conditions.length === 1
120+
? `the condition "${conditions[0]}"`
121+
: `the conditions ${JSON.stringify(conditions)}`;
122122
return callback(
123123
new Error(
124124
`"${remainingRequest}" is not exported under ${conditionsStr} from package ${request.descriptionFileRoot} (see exports field in ${request.descriptionFilePath})`,

0 commit comments

Comments
 (0)