Skip to content

Commit cf71d17

Browse files
fix pkg restriction regarding spreat operator
1 parent dec2d99 commit cf71d17

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/output/formatters/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const _ = require('lodash');
21
const { Formatter } = require('../index');
32

43
const EMPTY_FORMATTER = new Formatter();

lib/output/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Formatter {
1111
if (!keys || !_.keys(this.styles)) {
1212
return source;
1313
}
14-
const obj = { ...source };
14+
const obj = Object.assign({}, source);
1515
keys.forEach((key) => {
1616
const prop = obj[key];
1717
obj[key] = this._applyStyles(key, prop);

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.101",
3+
"version": "0.8.102",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)