From 760ca45c9b63c0aa06940a36010d051b7bb2cbed Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Tue, 30 Apr 2024 17:20:07 +0200 Subject: [PATCH] chore: pass platform to tiappxml (#14017) Co-authored-by: Chris Barber --- cli/commands/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands/build.js b/cli/commands/build.js index 1458177278d..40c3c6e91cb 100644 --- a/cli/commands/build.js +++ b/cli/commands/build.js @@ -121,7 +121,7 @@ exports.config = function config(logger, config, cli) { if (fs.existsSync(path.join(projectDir, 'tiapp.xml'))) { let tiapp; try { - tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml')); + tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml'), cli.argv.platform); } catch (ex) { logger.error(ex); logger.log();