From f0093cb9c9a93c7cdc5fc63d2011f74d38eaa74f Mon Sep 17 00:00:00 2001 From: Leonardo Venturini Date: Fri, 8 Nov 2024 07:58:17 -0400 Subject: [PATCH] disable punycode warning on app process --- tools/runners/run-app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/runners/run-app.js b/tools/runners/run-app.js index bd76e05317..38f904224f 100644 --- a/tools/runners/run-app.js +++ b/tools/runners/run-app.js @@ -10,8 +10,8 @@ var Profile = require('../tool-env/profile').Profile; var release = require('../packaging/release.js'); import { pluginVersionsFromStarManifest } from '../cordova/index.js'; import { closeAllWatchers } from "../fs/safe-watcher"; -import { eachline } from "../utils/eachline"; import { loadIsopackage } from '../tool-env/isopackets.js'; +import { eachline } from "../utils/eachline"; // Parse out s as if it were a bash command line. var bashParse = function (s) { @@ -250,6 +250,8 @@ Object.assign(AppProcess.prototype, { opts.push("--inspect=" + self.inspect.port); } + opts.push(`--require=${files.convertToOSPath(files.pathJoin(__dirname, '../node-process-warnings.js'))}`) + opts.push(entryPoint); // Call node