Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 2, 2024
1 parent ebded37 commit 5ef6b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/babel-plugin-canyon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-canyon",
"version": "2.0.0-beta.9",
"version": "2.0.0-beta.10",
"description": "",
"scripts": {
"release": "babel src --extensions \".ts\" --out-dir lib",
Expand Down
6 changes: 3 additions & 3 deletions plugins/babel-plugin-canyon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export default declare((api, config) => {
})
// console.log(serviceParams,'serviceParams')
visitorProgramExit(api,path,{
projectID: serviceParams.slug||'-',
sha: serviceParams.commit||'-',
instrumentCwd: process.cwd(),
projectID: config.projectID || serviceParams.slug||'-',
sha: config.sha||serviceParams.commit||'-',
instrumentCwd: config.instrumentCwd||process.cwd(),
dsn: config.dsn||process.env['DSN']
})
}
Expand Down

0 comments on commit 5ef6b9d

Please sign in to comment.