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

Not parsing windows path separators correctly #9

Open
andela-mallan opened this issue Oct 25, 2023 · 0 comments
Open

Not parsing windows path separators correctly #9

andela-mallan opened this issue Oct 25, 2023 · 0 comments

Comments

@andela-mallan
Copy link

Filepath: C:\\Program Files\\Projects\\Example\\launchFile.exe

Result:

{
  name: "C:\\Program Files\\Projects\\Example\\launchFile",
  basename: "C:\\Program Files\\Projects\\Example\\launchFile.exe",
  dirname: "",
  ext: ".exe",
  isAbsolute: false,
  ...
}

Expected Result:

{
  name: "launchFile",
  basename: "launchFile.exe",
  dirname: "C:\\Program Files\\Projects\\Example",
  ext: ".exe",
  ...
}
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

No branches or pull requests

1 participant