-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove stackTrace => path dependency #34763
Conversation
e2cc7d2
to
19dcc5b
Compare
Test results for "tests 1"11 flaky38543 passed, 793 skipped Merge workflow run. |
return fileUrl; | ||
|
||
let path = decodeURIComponent(fileUrl.slice(7)); | ||
if (path.startsWith('/') && /^[a-zA-Z]:/.test(path.slice(1))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (path.startsWith('/') && /^[a-zA-Z]:/.test(path.slice(1))) | |
if (/^\/[a-zA-Z]:/.test(path)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following up!
@@ -19,8 +19,6 @@ | |||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
*/ | |||
|
|||
import * as url from 'url'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make it platform-specific?
No description provided.