@@ -19,8 +19,8 @@ export default (options) =>
19
19
const urlFilter = getFilter ( maybeUrlFilter , ( value ) =>
20
20
isUrlRequest ( value , root )
21
21
) ;
22
- const getAttribute = ( tag , attribute , attributes , resourcePath ) => {
23
- return list . find ( ( element ) => {
22
+ const getAttribute = ( tag , attribute , attributes , resourcePath ) =>
23
+ list . find ( ( element ) => {
24
24
const foundTag =
25
25
typeof element . tag === 'undefined' ||
26
26
( typeof element . tag !== 'undefined' &&
@@ -47,7 +47,6 @@ export default (options) =>
47
47
? element . filter ( tag , attribute , adaptedAttributes , resourcePath )
48
48
: true ;
49
49
} ) ;
50
- } ;
51
50
52
51
const { resourcePath } = options ;
53
52
const parser5 = new SAXParser ( { sourceCodeLocationInfo : true } ) ;
@@ -141,9 +140,11 @@ export default (options) =>
141
140
return ;
142
141
}
143
142
144
- sourceSet = sourceSet . map ( ( item ) => ( {
145
- source : c0ControlCodesExclude ( item . source ) ,
146
- } ) ) ;
143
+ sourceSet = sourceSet . map ( ( item ) => {
144
+ return {
145
+ source : c0ControlCodesExclude ( item . source ) ,
146
+ } ;
147
+ } ) ;
147
148
148
149
let searchFrom = name . length ;
149
150
@@ -213,7 +214,6 @@ export default (options) =>
213
214
const request = requestify ( normalizedUrl , root ) ;
214
215
const newUrl = prefix ? `${ prefix } !${ request } ` : request ;
215
216
const importKey = newUrl ;
216
-
217
217
let importName = imports . get ( importKey ) ;
218
218
219
219
if ( ! importName ) {
0 commit comments