We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1712928 commit f9d168aCopy full SHA for f9d168a
index.js
@@ -126,11 +126,10 @@ class UpdateNotifier {
126
return this;
127
}
128
129
- options = {
+ options = Object.assign({
130
isGlobal: isInstalledGlobally(),
131
- isYarnGlobal: isYarnGlobal()(),
132
- ...options
133
- };
+ isYarnGlobal: isYarnGlobal()()
+ }, options);
134
135
let installCommand;
136
package.json
@@ -53,5 +53,10 @@
53
"mock-require": "^3.0.3",
54
"strip-ansi": "^5.2.0",
55
"xo": "^0.24.0"
56
+ },
57
+ "xo": {
58
+ "rules": {
59
+ "prefer-object-spread": 0
60
+ }
61
62
0 commit comments