mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-05 08:37:20 -04:00
Do not trim file extensions from entries (file extensions are no longer expected)
This commit is contained in:
@@ -20,7 +20,6 @@ func main() {
|
||||
} else if argsCount == 1 {
|
||||
|
||||
// initial entry reader shortcut
|
||||
// TODO Do not use file extensions for entries! This will allow doing this check more efficiently than otherwise possible.
|
||||
if strings.HasPrefix(args[0], "/") {
|
||||
targetLocation := offline.EntryRoot + offline.PathSeparator + args[0][1:]
|
||||
if isFile, _ := offline.TargetIsFile(targetLocation, true); isFile {
|
||||
|
||||
Reference in New Issue
Block a user