Skip to content

Commit

Permalink
chore: pass platform to tiappxml (#14017)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Barber <chris@cb1inc.com>
  • Loading branch information
m1ga and cb1kenobi committed Apr 30, 2024
1 parent eb5bf9a commit 760ca45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/build.js
Expand Up @@ -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();
Expand Down

0 comments on commit 760ca45

Please sign in to comment.