Skip to content

ln('-sf', './', '<destination>') is not linking the right folder #363

@mtscout6

Description

@mtscout6

https://travis-ci.org/TWExchangeSolutions/eslint-config-exchange-solutions/jobs/107132691

From what I can see there's a few issues.

  1. For some reason the resolvedSourcePath is built up with the dest path?
  2. On Mac OSX you don't even use the resolvedSourcePath when creating the symlink, but it does not appear to be respecting the current working directory. This worked in 0.5.3 which was using the correct resolvedSourcePath.

Is there a reason not to use the resolvedSourcePath for all operating systems?

I can put together a PR for this, just trying to gather any backstory I'm missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions