From eb2edb7ad2404a06fa092b898c0675caa757a4d2 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 7 Apr 2024 14:21:49 +0200 Subject: [PATCH] chore: pass platform to tiappxml --- 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();