Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Unable to copy file for caching: ENOENT #8541

Merged
merged 4 commits into from
Sep 28, 2024

Conversation

beyondkmp
Copy link
Collaborator

@beyondkmp beyondkmp commented Sep 27, 2024

fix #8507

const cachedUpdateFile = await downloadedUpdateHelper.validateDownloadedPath(updateFile, updateInfo, fileInfo, log)
if (cachedUpdateFile != null) {
updateFile = cachedUpdateFile
return await done(false)
}

The problem lies here. If cachedUpdateFile already exists, the task function won't run; instead, the done function will be executed directly.

Copy link

changeset-bot bot commented Sep 27, 2024

🦋 Changeset detected

Latest commit: acc707e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
electron-updater Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@beyondkmp beyondkmp changed the title fix: fix cache update file error fix: Unable to copy file for caching: ENOENT Sep 27, 2024
Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit acc707e
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/66f6d996badde500084cac03
😎 Deploy Preview https://deploy-preview-8541--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

beyondkmp added 2 commits September 27, 2024 23:40
fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to copy file for caching: ENOENT
2 participants