Hadron / Hadron/carthage-windows

Assets Dir modifies its path if it is set

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In my plugin configuration I set
```
windows:
assets_dir: "${PWD}/assets"
```
Then I get:
`AssertionError: Expecting only one image in /home/srak/project/win11/build/assets/windows`
but also
`ls: cannot access '/home/srak/project/win11/build/assets/windows': No such file or directory`

This seems unintuitive, perhaps assets_dir should be the full path to assets?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing how the plugin configuration reads and resolves assets_dir, then compare the configured absolute path with the path used in the assertion. Done means the documented or implemented path behavior is consistent and the image lookup uses the intended assets directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.