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
This is not matching my import of "@foo/beer/bar". Instead, it's matching something like, beer/ba. It should be matching on the beer.
Solution:
In the matchStar function, substr is used. The code implies that substring is what was intended. Substr takes a number of characters. Substring matches two indices; start and end. When switching to substring, the code works as expected.
The text was updated successfully, but these errors were encountered:
I have the path:
This is not matching my import of "@foo/beer/bar". Instead, it's matching something like, beer/ba. It should be matching on the beer.
Solution:
In the matchStar function, substr is used. The code implies that substring is what was intended. Substr takes a number of characters. Substring matches two indices; start and end. When switching to substring, the code works as expected.
The text was updated successfully, but these errors were encountered: