Skip to content
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

fix(core): normalize relative filepaths in Manifest #2058

Merged
merged 5 commits into from
Oct 30, 2020

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented Oct 27, 2020

What's the problem this PR addresses?

Packages can be published using backslash in their fields which breaks on non-Windows systems.

Fixes #2054

How did you fix it?

Replace backslash with slash in fields that can contain relative filepaths

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@andreialecu
Copy link
Contributor

andreialecu commented Oct 27, 2020

Looks like a normalizePath(path) helper function might be useful somewhere in the core.

@arcanis arcanis merged commit 6ca8b6f into master Oct 30, 2020
@arcanis arcanis deleted the merceyz/manifest-normalize branch October 30, 2020 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Path Resolution Failed (ts-node-dev)
4 participants