Skip to content

Fails to resolve the home folder #3072

Closed

Description

@haf

Description

source https://api.nuget.org/v3/index.json
cache ~/.paket-cache versions: current

Results in

myproject % ls -lah \~
total 0
drwxr-xr-x    3 h  staff    96B Feb 25 15:52 .
drwxr-xr-x   22 h  staff   704B Feb 25 15:53 ..
drwxr-xr-x  116 h  staff   3.6K Feb 25 15:56 .paket-cache

Expected behavior

~ should be resolved to $HOME on *nix systems.

Actual behavior

Paket believes it's a local folder.

Known workarounds

Providing a full path is not really a workaround since it makes the git repository non-portable between peoples' machines.

Activity

  1. forki commented on Feb 27, 2018

    @forki
    Member

    it should also do something sensible on windows - after all paket repos need to work on both platforms

  2. oopbase commented on Feb 27, 2018

    @oopbase
    Contributor

    Something sensible on windows would be %systemdrive%%homepath% I guess?

  3. forki commented on Feb 28, 2018

    @forki
    Member

    fixed by @oopbase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions