🏷️ Do not make File path absolute
This commit is contained in:
parent
555b8cc333
commit
22422d0ad2
|
@ -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, ".")
|
||||
|
|
Loading…
Reference in New Issue