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

chore: revert import syntax for updater #1897

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

eglitise
Copy link
Collaborator

ESLint's suggested import syntax for electron-updater unfortunately prevents the app from being launched in both dev and production modes:

SyntaxError: Named export 'autoUpdater' not found. The requested module 'electron-updater' is a CommonJS module, which may not support all module.exports as named exports.

This PR reverts to the previous syntax, which is also provided as a recommendation in the error message.

@github-actions github-actions bot added the chore Internal changes not visible to the user label Jan 15, 2025
@eglitise eglitise merged commit e844cbe into appium:main Jan 15, 2025
6 checks passed
@eglitise eglitise deleted the fix-autoupdater-import branch January 15, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Internal changes not visible to the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant