Skip to content

[BUG] - whole path name is included when specifying a file with a target #158

Description

@ekarious

Describe the bug
Bug to the path of uploaded files

To Reproduce
When You have a structure like this:

dotfiles
   windows
      alacritty.toml
profiles
   windows.yaml

and windows.yaml file like this:

target: "C:\\Users\\Yann\\Desktop\\test_dotfiles"

dotfiles:
  - path: windows/alacritty.toml
    target:
      path: "C:\\Users\\Yann\\Desktop\\test_dotfiles\\alacritty.toml"
    template: false

The problem is the file is sent to this path:

C:\Users\Yann\Desktop\test_dotfiles\windows\alacritty.toml

The windows in the path should not be included.

Expected behavior
This should be the correct path:

C:\Users\Yann\Desktop\test_dotfiles\alacritty.toml

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 22H2

Additional Infos
I have set the Env Variable:
PUNKTF_SOURCE = C:\Users\Yann\.dotfiles

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions