🏷️ Do not make File path absolute

This commit is contained in:
Maxim Lebedev 2023-11-19 13:41:13 +06:00
parent 555b8cc333
commit 22422d0ad2
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 0 additions and 1 deletions

View File

@ -32,7 +32,6 @@ func NewFile(path string) File {
translationBaseName: "",
uniqueId: "",
}
out.path, _ = filepath.Abs(path)
out.baseFileName = strings.TrimSuffix(out.logicalName, filepath.Ext(out.logicalName))
parts := strings.Split(out.baseFileName, ".")