Skip to content

Commit 204efdf

Browse files
committed
fix: sonar issues
1 parent 3b43d57 commit 204efdf

File tree

1 file changed

+1
-2
lines changed
  • src/extensionsIntegrated/appUpdater

1 file changed

+1
-2
lines changed

src/extensionsIntegrated/appUpdater/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ define(function (require, exports, module) {
336336
}
337337

338338
async function _extractMacInstaller() {
339-
// todo delete .app files already in the install folder
340339
const appdataDir = window._tauriBootVars.appLocalDir;
341340
let extractPlatformPath = path.join(appdataDir, 'installer', "extracted");
342341
// extract the .app file
@@ -378,7 +377,7 @@ define(function (require, exports, module) {
378377
}
379378

380379
async function doMacUpdate() {
381-
await _extractMacInstaller(installerLocation);
380+
await _extractMacInstaller();
382381
const currentAppPath = await getCurrentMacAppPath();
383382
if(!currentAppPath || !installerLocation || !currentAppPath.endsWith(".app") ||
384383
!installerLocation.endsWith(".app")){

0 commit comments

Comments
 (0)