Skip to content

Commit

Permalink
chore: pass platform to tiappxml
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Apr 7, 2024
1 parent 76dc1db commit eb2edb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/build.js
Original file line number Diff line number Diff line change
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 eb2edb7

Please sign in to comment.