diff --git a/BuildServer/lib/tasks/deletefromcode.js b/BuildServer/lib/tasks/deletefromcode.js index 37a8621..abdcb7e 100644 --- a/BuildServer/lib/tasks/deletefromcode.js +++ b/BuildServer/lib/tasks/deletefromcode.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; diff --git a/BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js b/BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js index a6ecb3e..714439c 100644 --- a/BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js +++ b/BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js @@ -3,7 +3,7 @@ const sequential = require('./sequential'); module.exports = (params, processor) => { - let tasks = []; + const tasks = []; if (!params.skipMbsCheckStyle) { tasks.push({ diff --git a/BuildServer/lib/tasks/sequential.js b/BuildServer/lib/tasks/sequential.js index 9c93dde..5bd63f2 100644 --- a/BuildServer/lib/tasks/sequential.js +++ b/BuildServer/lib/tasks/sequential.js @@ -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)) }; };