You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
substring(startCurlyIdx + 1, endCurlyIdx - 1) should be substring(startCurlyIdx + 1, endCurlyIdx). Because the char pointed by the second parameter of substring() is not included in the result.
The text was updated successfully, but these errors were encountered:
Thanks for your tool! I just found a bug to notice you.
https://github.com/dev-cprice/parse-static-imports/blob/66eb33a5db1d232eab959a4ca65ebac2053f6b1b/src/parseNamedImports.js#L24
substring(startCurlyIdx + 1, endCurlyIdx - 1)
should besubstring(startCurlyIdx + 1, endCurlyIdx)
. Because the char pointed by the second parameter of substring() is not included in the result.The text was updated successfully, but these errors were encountered: