Skip to content

Commit

Permalink
feat: Added report to signing
Browse files Browse the repository at this point in the history
  • Loading branch information
as-hirose committed Feb 5, 2024
1 parent 4bee6ee commit cdfa1df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/signing.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,14 @@ module.exports = {
let action = '';
let target = '';

const args = process.argv.length > 3 ? process.argv.slice(3).join(' ') : '';
const report = {
event: task,
params: { args }
};

monaca.reportAnalytics(report);

lib.findProjectDir(process.cwd(), monaca)
.then(
(cwd) => {
Expand Down

0 comments on commit cdfa1df

Please sign in to comment.