mirror of
https://github.com/packwiz/packwiz.git
synced 2025-11-19 01:24:32 +01:00
File writing, index sorting
This commit is contained in:
@@ -22,6 +22,6 @@ func ResolveIndex(flags Flags) (string, error) {
|
||||
if filepath.IsAbs(pack.Index.File) {
|
||||
return pack.Index.File, nil
|
||||
}
|
||||
return filepath.Join(flags.PackFile, pack.Index.File), nil
|
||||
return filepath.Join(filepath.Dir(flags.PackFile), pack.Index.File), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user