Improved configurability

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 10 years ago
parent c50521e754
commit d5e7b95cb2
  1. 3
      BuildServer/lib/tasks/dotnetbuilderwrapper.js

@ -1,13 +1,14 @@
"use strict"; "use strict";
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;
var settings = require("../../settings");
module.exports = function (params, processor) { module.exports = function (params, processor) {
return { return {
process: function () { process: function () {
var result = "", var result = "",
error = "", error = "",
builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", [params.command]); builder = spawn(settings.builderExecutable, [params.command]);
builder.stdout.on('data', function (data) { builder.stdout.on('data', function (data) {
result += data; result += data;

Loading…
Cancel
Save