diff --git a/app-shell/src/robot-update/index.ts b/app-shell/src/robot-update/index.ts index 6e6d9b03363..01afaa15960 100644 --- a/app-shell/src/robot-update/index.ts +++ b/app-shell/src/robot-update/index.ts @@ -254,7 +254,7 @@ export function checkForRobotUpdate( }) }) .then(() => - cleanupReleaseFiles(cacheDirForMachineFiles(target), CURRENT_VERSION) + cleanupReleaseFiles(cacheDirForMachine(target), CURRENT_VERSION) ) }