Commit 765a5437 by lxyang

feat:修改bug

parents cc16d02e d560d0e2
...@@ -137,13 +137,13 @@ export default declare(api => { ...@@ -137,13 +137,13 @@ export default declare(api => {
}) })
// 全局变量优先 // 全局变量优先
if (Object.keys(instrmenttation).length) { if (Object.keys(instrmenttation).length) {
BRANCH_DATA = isValue(instrmenttation.BRANCH, false, false) BRANCH_DATA = isValue(instrmenttation.BRANCH, false, 'origin/master')
INCREMENT_DATA = isValue(instrmenttation.INCREMENT, false, false) INCREMENT_DATA = isValue(instrmenttation.INCREMENT, false, 'false')
IS_PITCHING_PILE_DATA = isValue(instrmenttation.IS_PITCHING_PILE, false, 'origin/master') IS_PITCHING_PILE_DATA = isValue(instrmenttation.IS_PITCHING_PILE, false, false)
} else if (Object.keys(processData).length) { } else if (Object.keys(processData).length) {
BRANCH_DATA = isValue(processData.BRANCH, false, false) BRANCH_DATA = isValue(processData.BRANCH, false, 'origin/master')
INCREMENT_DATA = isValue(processData.INCREMENT, false, false) INCREMENT_DATA = isValue(processData.INCREMENT, false, 'false')
IS_PITCHING_PILE_DATA = isValue(processData.IS_PITCHING_PILE, false, 'origin/master') IS_PITCHING_PILE_DATA = isValue(processData.IS_PITCHING_PILE, false, false)
} }
// instrumenttation (branch: git diff 跟那个分支对比, increment 是否开启增量代码检测) 拿配置到底是全量代码还是增量代码 // instrumenttation (branch: git diff 跟那个分支对比, increment 是否开启增量代码检测) 拿配置到底是全量代码还是增量代码
if (!IS_PITCHING_PILE_DATA || IS_PITCHING_PILE_DATA === 'false') { if (!IS_PITCHING_PILE_DATA || IS_PITCHING_PILE_DATA === 'false') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment