Skip to content

Commit 8b193ff

Browse files
fix linter
1 parent c8bda0a commit 8b193ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/output/formatters/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const _ = require('lodash');
22
const recursive = require('recursive-readdir');
33
const path = require('path');
4-
const {Formatter} = require('../index');
4+
const { Formatter } = require('../index');
55

66
const formatters = {};
77
const EMPTY_FORMATTER = new Formatter();
@@ -21,8 +21,9 @@ recursive(path.resolve(__dirname), (err, files) => {
2121
_.forEach(files, (file) => {
2222
const ending = '.formatter.js';
2323
if (file.endsWith(ending)) {
24+
// eslint-disable-next-line
2425
const formatter = require(file);
25-
const entityName = path.parse(file).base.replace(ending, '');
26+
const entityName = path.parse(file).base.replace(ending, '');
2627
FormatterRegistry.set(entityName, formatter);
2728
}
2829
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.99",
3+
"version": "0.8.100",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)