File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,7 @@ function fullResolve(
143
143
return { found : true , path : cachedPath }
144
144
}
145
145
146
- if (
147
- Object . prototype . hasOwnProperty . call ( settings , 'import-x/resolver-next' ) &&
148
- settings [ 'import-x/resolver-next' ]
149
- ) {
146
+ if ( settings [ 'import-x/resolver-next' ] ) {
150
147
const configResolvers = settings [ 'import-x/resolver-next' ]
151
148
152
149
for ( let i = 0 , len = configResolvers . length ; i < len ; i ++ ) {
@@ -174,7 +171,6 @@ function fullResolve(
174
171
}
175
172
} else if (
176
173
// backward compatibility for very old `import-x/resolve` options that is no longer supported
177
- Object . prototype . hasOwnProperty . call ( settings , 'import-x/resolve' ) &&
178
174
settings [ 'import-x/resolve' ]
179
175
) {
180
176
const resolveSettings = settings [ 'import-x/resolve' ]
You can’t perform that action at this time.
0 commit comments