Skip to content

Not parsing windows path separators correctly #9

@andela-mallan

Description

@andela-mallan

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",
  ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions