owl-cli 6.94.0 → 6.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -129,15 +129,16 @@ function isArrayEqual(a1,a2){
|
|
|
129
129
|
if(a1==null && a2==null){
|
|
130
130
|
return true;
|
|
131
131
|
}
|
|
132
|
+
|
|
132
133
|
if(a1==null && a2!=null){
|
|
133
134
|
return false;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
|
-
if(a1
|
|
137
|
+
if(a1!=null && a2==null){
|
|
137
138
|
return false;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
|
-
if(a1.length
|
|
141
|
+
if(a1.length!=a2.length){
|
|
141
142
|
return false;
|
|
142
143
|
}
|
|
143
144
|
for(var i=0; i<a1.length; i++){
|
|
@@ -128,8 +128,9 @@ var @projectCodeService = (function (pigeon) {
|
|
|
128
128
|
|
|
129
129
|
var subData = curData[curKey]
|
|
130
130
|
if (!subData) {
|
|
131
|
-
curData[curKey] =
|
|
132
|
-
|
|
131
|
+
curData[curKey] = {}
|
|
132
|
+
subData = curData[curKey]
|
|
133
|
+
|
|
133
134
|
}
|
|
134
135
|
curData = subData
|
|
135
136
|
}
|
|
@@ -453,8 +454,8 @@ var @projectCodeService = (function (pigeon) {
|
|
|
453
454
|
var searchUrl = elasticSearchUrl + '/@projectCode/_doc/' + data.id
|
|
454
455
|
var sndTxt = JSON.stringify(data)
|
|
455
456
|
var s = HttpUtils.postRaw(searchUrl, sndTxt, headers)
|
|
456
|
-
|
|
457
|
-
if (!
|
|
457
|
+
var r = JSON.parse(s)
|
|
458
|
+
if (!r.result) {
|
|
458
459
|
$.log(data.id + ',index error:' + JSON.stringify(s))
|
|
459
460
|
}
|
|
460
461
|
else {
|