Skip to content

Commit 9424bde

Browse files
committed
Merge branch 'wdt-913' into 'main'
Fixing an off by one error in archiveHelper remove custom command See merge request weblogic-cloud/weblogic-deploy-tooling!1724
2 parents f2bf13a + 588f5c1 commit 9424bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/oracle/weblogic/deploy/util/WLSDeployArchive.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ public int removeCustomEntry(String entryPath, boolean useNonReplicablePath, boo
26252625
String baseLocation = useNonReplicablePath ? NON_REPLICABLE_CUSTOM_TARGET_DIR : ARCHIVE_CUSTOM_TARGET_DIR;
26262626
if (entryPath.startsWith(baseLocation + ZIP_SEP)) {
26272627
archivePath = entryPath;
2628-
appName = getNameFromPath(archivePath, baseLocation.length() + 2);
2628+
appName = getNameFromPath(archivePath, baseLocation.length() + 1);
26292629
} else {
26302630
archivePath = baseLocation + ZIP_SEP + entryPath;
26312631
appName = entryPath;

0 commit comments

Comments
 (0)