trm-core 4.1.2 → 4.1.4
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.
|
@@ -140,7 +140,7 @@ class ServerSystemConnector {
|
|
|
140
140
|
var aTrkorrStatusCheck;
|
|
141
141
|
try {
|
|
142
142
|
logger_1.Logger.log(`Checking ${sTrkorr} TMS import result`, true);
|
|
143
|
-
aTrkorrStatusCheck = (yield this.readTable('TMSBUFFER', [{ fieldName: 'TRKORR' }, { fieldName: 'MAXRC' }], `SYSNAM EQ '${this.getDest()}' AND TRKORR EQ '${sTrkorr}' AND IMPSING NE 'X'`)).filter(o => parseInt(o.maxrc)
|
|
143
|
+
aTrkorrStatusCheck = (yield this.readTable('TMSBUFFER', [{ fieldName: 'TRKORR' }, { fieldName: 'MAXRC' }], `SYSNAM EQ '${this.getDest()}' AND TRKORR EQ '${sTrkorr}' AND IMPSING NE 'X'`)).filter(o => parseInt(o.maxrc) >= 0);
|
|
144
144
|
}
|
|
145
145
|
catch (e) {
|
|
146
146
|
aTrkorrStatusCheck = [];
|
|
@@ -87,7 +87,7 @@ class TrmArtifact {
|
|
|
87
87
|
throw new Error(`Couldn't locate dist folder.`);
|
|
88
88
|
}
|
|
89
89
|
const zipEntries = this._zip.getEntries();
|
|
90
|
-
const aTransportEntries = zipEntries.filter(o => (new RegExp(`^${distFolder}(
|
|
90
|
+
const aTransportEntries = zipEntries.filter(o => (new RegExp(`^${distFolder}(/|\\\\)`)).test(o.entryName.trim().toLowerCase()));
|
|
91
91
|
var aResult = [];
|
|
92
92
|
const r3trans = new node_r3trans_1.R3trans({
|
|
93
93
|
tempDirPath: tmpFolder
|