Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/totvs/tds-vscode into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lwtnb-wrk committed Aug 29, 2023
2 parents 3f6b86a + e729eb4 commit 6a50897
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/patch/formApplyPatch.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,26 @@
};
checkValidations();
break;
case 'patchValidationRet':
//console.log("patchValidationRet");
const file = message.file.toLowerCase();
//console.log("file: "+file);
var patchs = tableAPI.data();
for (var i = 0; i < patchs.length; i++) {
var patchPath = patchs[i][3].replaceAll('\\\\', '/').toLowerCase();
//console.log("patchPath: "+patchPath);
if (patchPath === file) {
var validationMessage = message.message;
//console.log("FOUND! "+message.message);
tableAPI.cell(i,1).data(validationMessage);
var errorCode = message.errorCode;
//console.log("FOUND! "+message.errorCode);
tableAPI.cell(i,4).data(errorCode);
tableAPI.draw();
}
};
checkValidations();
break;
}
});

Expand Down

0 comments on commit 6a50897

Please sign in to comment.