Warn if nunitall is executed more than once

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent 480493b8a7
commit 134e1f7355
  1. 6
      BuildServer/lib/tasks/dotnetnunitall.js

@ -6,6 +6,12 @@ var dotNetBuilderWrapper = require('./dotnetbuilderwrapper');
module.exports = function (params, processor) {
return {
process: function () {
if (processor.context.dotnetnunitallDone) {
processor.onWarn("dotnetnunitall task is executed more than once; this is probably a bug in your mbs.json");
}
processor.context.dotnetnunitallDone = true;
glob("**/bin/**/*.{Tests,Test,UnitTests}.dll", {
dot: true,
cwd: processor.context.exported

Loading…
Cancel
Save