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

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

@ -5,6 +5,6 @@ const async = require("async");
module.exports = (params, processor) => { module.exports = (params, processor) => {
const mapper = Function.bind.bind(processor.processTask, processor); const mapper = Function.bind.bind(processor.processTask, processor);
return { 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