Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 17, 2024
1 parent f155141 commit 428e369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/babel-plugin-canyon/src/visitor-program-exit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ export const visitorProgramExit = (api,path,serviceParams) => {
t.stringLiteral(serviceParams.sha) // 键值
);
properties.push(shaField); // 添加新字段
// 增加 sha 字段
// 增加 projectID 字段
const projectIDField = t.objectProperty(
t.identifier("projectID"), // 键名
t.stringLiteral(serviceParams.projectID) // 键值
);
properties.push(projectIDField); // 添加新字段
// 增加 sha 字段
// 增加 instrumentCwd 字段
const instrumentCwdField = t.objectProperty(
t.identifier("instrumentCwd"), // 键名
t.stringLiteral(serviceParams.instrumentCwd) // 键值
Expand Down

0 comments on commit 428e369

Please sign in to comment.