Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Feb 12, 2025
1 parent 6073d2a commit b9b207f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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.6",
"version": "2.0.7",
"description": "",
"scripts": {
"release": "babel src --extensions \".ts\" --out-dir lib",
Expand Down
4 changes: 4 additions & 0 deletions plugins/babel-plugin-canyon/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export default declare((api, config, dirname) => {
},
timeout: 15000,
...proxy
}).then(r=>{
if (config.debug){
console.log('Posted coverage data:', r.data)
}
}).catch(err=>{
if (config.debug){
console.log('Failed to post coverage data:', err)
Expand Down

0 comments on commit b9b207f

Please sign in to comment.