Code style improvements

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 8 years ago
parent 48451a6721
commit 1416f83246
  1. 2
      BuildServer/lib/tasks/deletefromcode.js
  2. 2
      BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js
  3. 2
      BuildServer/lib/tasks/sequential.js

@ -2,7 +2,7 @@
const fse = require('fs-extra');
module.exports = function (params, processor) {
module.exports = (params, processor) => {
return {
process: () => {
var sourceFilePath = processor.context.exported + "/" + params.filename;

@ -3,7 +3,7 @@
const sequential = require('./sequential');
module.exports = (params, processor) => {
let tasks = [];
const tasks = [];
if (!params.skipMbsCheckStyle) {
tasks.push({

@ -5,6 +5,6 @@ const async = require("async");
module.exports = (params, processor) => {
const mapper = Function.bind.bind(processor.processTask, processor);
return {
process: () => async.series(params.tasks.map((element) => mapper(element)), processor.done.bind(processor))
process: () => async.series(params.tasks.map(mapper), processor.done.bind(processor))
};
};

Loading…
Cancel
Save