Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
babel-plugin-ry-istanbul
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ry-istanbul-web
babel-plugin-ry-istanbul
Commits
765a5437
Commit
765a5437
authored
Oct 12, 2022
by
lxyang
Browse files
Options
Browse Files
Download
Plain Diff
feat:修改bug
parents
cc16d02e
d560d0e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.js
src/index.js
+6
-6
No files found.
src/index.js
View file @
765a5437
...
...
@@ -137,13 +137,13 @@ export default declare(api => {
})
// 全局变量优先
if
(
Object
.
keys
(
instrmenttation
).
length
)
{
BRANCH_DATA
=
isValue
(
instrmenttation
.
BRANCH
,
false
,
false
)
INCREMENT_DATA
=
isValue
(
instrmenttation
.
INCREMENT
,
false
,
false
)
IS_PITCHING_PILE_DATA
=
isValue
(
instrmenttation
.
IS_PITCHING_PILE
,
false
,
'origin/master'
)
BRANCH_DATA
=
isValue
(
instrmenttation
.
BRANCH
,
false
,
'origin/master'
)
INCREMENT_DATA
=
isValue
(
instrmenttation
.
INCREMENT
,
false
,
'false'
)
IS_PITCHING_PILE_DATA
=
isValue
(
instrmenttation
.
IS_PITCHING_PILE
,
false
,
false
)
}
else
if
(
Object
.
keys
(
processData
).
length
)
{
BRANCH_DATA
=
isValue
(
processData
.
BRANCH
,
false
,
false
)
INCREMENT_DATA
=
isValue
(
processData
.
INCREMENT
,
false
,
false
)
IS_PITCHING_PILE_DATA
=
isValue
(
processData
.
IS_PITCHING_PILE
,
false
,
'origin/master'
)
BRANCH_DATA
=
isValue
(
processData
.
BRANCH
,
false
,
'origin/master'
)
INCREMENT_DATA
=
isValue
(
processData
.
INCREMENT
,
false
,
'false'
)
IS_PITCHING_PILE_DATA
=
isValue
(
processData
.
IS_PITCHING_PILE
,
false
,
false
)
}
// instrumenttation (branch: git diff 跟那个分支对比, increment 是否开启增量代码检测) 拿配置到底是全量代码还是增量代码
if
(
!
IS_PITCHING_PILE_DATA
||
IS_PITCHING_PILE_DATA
===
'false'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment