diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 72468ee3..c4b667d6 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "1.8.78-beta.37", + "version": "1.8.78-beta.38", "description": "", "scripts": { "release": "babel src --extensions \".ts\" --out-dir lib", diff --git a/plugins/babel-plugin-canyon/src/index.ts b/plugins/babel-plugin-canyon/src/index.ts index 0ed30873..d375c693 100644 --- a/plugins/babel-plugin-canyon/src/index.ts +++ b/plugins/babel-plugin-canyon/src/index.ts @@ -30,8 +30,8 @@ export default declare((api, config) => { }) // console.log(serviceParams,'serviceParams') visitorProgramExit(api,path,{ - projectID: serviceParams.slug, - sha: serviceParams.commit, + projectID: serviceParams.slug||'-', + sha: serviceParams.commit||'-', instrumentCwd: process.cwd(), dsn: process.env['DSN']||'-' })