binref / refinery

High Octane Triage Analysis
Other
618 stars 62 forks source link

Additional bug in ef for absolute paths #47

Closed huettenhain closed 2 months ago

huettenhain commented 2 months ago

The fix in #46 doesn't address the use case where I'm encountering this same issue:

C:\Users\Donald\repositories\refinery>ef C:\Users\Donald\Desktop\install.log
(10:15:25) failure in ef: exception of type ValueError; 
'\\\\?\\C:\\Users\\Donald\\Desktop\\install.log' is not in the subpath of '\\\\?\\C:\\Users\\Donald\\repositories\\refinery' OR one path is relative and the other is absolute.

In this case, I'm trying to ef a file that's not in a subfolder relative to my CWD.

Windows 11 Python 3.11.9 Up-to-date including bugfix

Originally posted by @Donaldduck8 in https://github.com/binref/refinery/issues/46#issuecomment-2081560650

huettenhain commented 2 months ago

Alright, 500ff449047e9b7a974f3922f0fe823bbbf03d13 aka 0.6.38 should fix this issue as well.