@@ -19,8 +19,8 @@ export default (options) =>
1919 const urlFilter = getFilter ( maybeUrlFilter , ( value ) =>
2020 isUrlRequest ( value , root )
2121 ) ;
22- const getAttribute = ( tag , attribute , attributes , resourcePath ) => {
23- return list . find ( ( element ) => {
22+ const getAttribute = ( tag , attribute , attributes , resourcePath ) =>
23+ list . find ( ( element ) => {
2424 const foundTag =
2525 typeof element . tag === 'undefined' ||
2626 ( typeof element . tag !== 'undefined' &&
@@ -47,7 +47,6 @@ export default (options) =>
4747 ? element . filter ( tag , attribute , adaptedAttributes , resourcePath )
4848 : true ;
4949 } ) ;
50- } ;
5150
5251 const { resourcePath } = options ;
5352 const parser5 = new SAXParser ( { sourceCodeLocationInfo : true } ) ;
@@ -141,9 +140,11 @@ export default (options) =>
141140 return ;
142141 }
143142
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+ } ) ;
147148
148149 let searchFrom = name . length ;
149150
@@ -213,7 +214,6 @@ export default (options) =>
213214 const request = requestify ( normalizedUrl , root ) ;
214215 const newUrl = prefix ? `${ prefix } !${ request } ` : request ;
215216 const importKey = newUrl ;
216-
217217 let importName = imports . get ( importKey ) ;
218218
219219 if ( ! importName ) {
0 commit comments