mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-27 13:29:58 -04:00
Fix adding new entries on Windows
This commit is contained in:
1 parent
a44bef1db9
commit
8c1b986e20
1 file changed
+1
-1
+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)
|
||||
core.TargetIsFile(targetLocation[:strings.LastIndex(targetLocation, "/")], true, 1)
|
||||
core.TargetIsFile(targetLocation[:strings.LastIndex(targetLocation, core.PathSeparator)], true, 1)
|
||||
|
||||
var unencryptedEntry []string
|
||||
|
||||
|
||||
Reference in new issue
Block a user