aboutsummaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/core-bundle.js3
-rw-r--r--modules/core/module-loader.js2
-rw-r--r--modules/core/terminal.js3
3 files changed, 7 insertions, 1 deletions
diff --git a/modules/core/core-bundle.js b/modules/core/core-bundle.js
index b070e65..07609e3 100644
--- a/modules/core/core-bundle.js
+++ b/modules/core/core-bundle.js
@@ -4553,6 +4553,9 @@ Only output XML function calls for tool tasks. If no tool is needed, answer norm
}
return; }
catch (err) {
+ // v4.6.134: `silent` errors are control flow, not failures — `test`/`[`
+ // reject to tell `&&`/`||` to skip, and must print nothing (POSIX).
+ if (err && err.silent) return;
this.print(`Error in ${modName}.${cmd}: ${err.message}`, 'error');
console.error(`[Terminal] Error in ${modName}.${cmd}:`, err);
return;
diff --git a/modules/core/module-loader.js b/modules/core/module-loader.js
index 0d39123..52cee36 100644
--- a/modules/core/module-loader.js
+++ b/modules/core/module-loader.js
@@ -4,7 +4,7 @@
// Core module bundle loaded synchronously in main.html.
// This loader only handles version cache-busting, splash, terminal init, and optional ext modules.
- const LATEST_VER = 'v4.6.132';
+ const LATEST_VER = 'v4.6.135';
const CACHE = '?v=' + LATEST_VER;
// Exposed so ext modules can register their own URL with the same cache-busting version
// instead of an unversioned path the browser may already have cached (shell.js did).
diff --git a/modules/core/terminal.js b/modules/core/terminal.js
index 4122b3c..ca6bb61 100644
--- a/modules/core/terminal.js
+++ b/modules/core/terminal.js
@@ -1961,6 +1961,9 @@
}
return; }
catch (err) {
+ // v4.6.134: `silent` errors are control flow, not failures — `test`/`[`
+ // reject to tell `&&`/`||` to skip, and must print nothing (POSIX).
+ if (err && err.silent) return;
this.print(`Error in ${modName}.${cmd}: ${err.message}`, 'error');
console.error(`[Terminal] Error in ${modName}.${cmd}:`, err);
return;