Apply suggestions from code review

This commit is contained in:
Nick O'Leary
2025-06-06 10:15:53 +01:00
committed by GitHub
parent 332fbae39e
commit 843313185a
2 changed files with 2 additions and 2 deletions

View File

@@ -1694,7 +1694,7 @@ RED.palette.editor = (function() {
function autoInstallModules(modules) {
if (RED.settings.get('externalModules.palette.allowInstall', true) === false) {
console.error(new Error('Palette not editable'));
console.error('Palette not editable');
return;
}