From b0e403a06c5358a84d87485dc9b53b616a807a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Thu, 7 Nov 2024 15:39:09 +0800 Subject: [PATCH] chore: update --- .github/workflows/publish-babel-plugin-canyon.yml | 2 +- plugins/babel-plugin-canyon/package.json | 2 +- plugins/babel-plugin-canyon/src/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-babel-plugin-canyon.yml b/.github/workflows/publish-babel-plugin-canyon.yml index 642e8865..30393c81 100644 --- a/.github/workflows/publish-babel-plugin-canyon.yml +++ b/.github/workflows/publish-babel-plugin-canyon.yml @@ -21,6 +21,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} - run: | - pnpm dist-tag add babel-plugin-canyon@1.8.85 latest + pnpm dist-tag add babel-plugin-canyon@1.8.86 latest env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 7b678a70..047edcb9 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.85", + "version": "1.8.86", "description": "A Babel plugin cooperates with istanbul to report the coverage", "author": "Allen Zhang ", "license": "MIT", diff --git a/plugins/babel-plugin-canyon/src/index.js b/plugins/babel-plugin-canyon/src/index.js index 4c2b1179..6df39be0 100644 --- a/plugins/babel-plugin-canyon/src/index.js +++ b/plugins/babel-plugin-canyon/src/index.js @@ -40,7 +40,7 @@ const newatob = newAtob() function analyzeIntervalTime (intervalTime) { if (!isNaN(Number(intervalTime))){ - return intervalTime + return String(intervalTime) } else { return '0' }