mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-28 04:46:41 -04:00
Fix adding new entries on Windows
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ func AddEntry(targetLocation string, hideSecrets bool, entryType uint8) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ensure target containing directory exists and is a directory (not a file)
|
// ensure target containing directory exists and is a directory (not a file)
|
||||||
core.TargetIsFile(targetLocation[:strings.LastIndex(targetLocation, "/")], true, 1)
|
core.TargetIsFile(targetLocation[:strings.LastIndex(targetLocation, core.PathSeparator)], true, 1)
|
||||||
|
|
||||||
var unencryptedEntry []string
|
var unencryptedEntry []string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user