Skip to content

Commit

Permalink
checking ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdz committed Jul 9, 2020
1 parent 6e23e99 commit acea649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-mdx/utils/import-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
function parseImportBindings(importCode, returnSegments = false) {
const str = importCode.replace(
/^\s*import|[{},]|\s*from\s*['"][^'"]*?['"].*?$/gm,
/^\s*import|[{},]|\s*from\s*['"][^'"]*?['"]\s*?$/gim,
` , `
)
const segments = str
Expand Down

0 comments on commit acea649

Please sign in to comment.