Skip to content

Commit f488406

Browse files
committed
switching variables for consistency purposes
1 parent 9e45265 commit f488406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/app/js/wdtArchive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ async function _getArchiveEntryShowChooser(targetWindow, archiveEntryTypeName, a
283283
result.archiveEntryType = archiveEntryTypeName;
284284
result.filePath = fileSystemPath;
285285
if (result.filePath) {
286-
result.archivePath = archiveEntryType['pathPrefix'] + path.basename(fileSystemPath);
286+
result.archivePath = archiveEntryType['pathPrefix'] + path.basename(result.filePath);
287287
result.archiveUpdatePath = result.archivePath;
288288
if (chooserType === 'openDirectory') {
289289
result.archiveUpdatePath = `${result.archivePath}/`;

0 commit comments

Comments
 (0)