This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export default {
115
115
* @param {number } severity severity from the sass-lint linter
116
116
* @return {string } severity for the Linter API
117
117
*/
118
- getSeverity : severity => ( severityMap . has ( severity )
118
+ getSeverity : ( severity ) => ( severityMap . has ( severity )
119
119
? severityMap . get ( severity )
120
120
: 'info'
121
121
) ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export default {
71
71
} ,
72
72
73
73
deactivate ( ) {
74
- idleCallbacks . forEach ( callbackID => window . cancelIdleCallback ( callbackID ) ) ;
74
+ idleCallbacks . forEach ( ( callbackID ) => window . cancelIdleCallback ( callbackID ) ) ;
75
75
idleCallbacks . clear ( ) ;
76
76
return this . subs . dispose ( ) ;
77
77
} ,
@@ -96,7 +96,7 @@ export default {
96
96
}
97
97
if ( ( this . globalPath === '' ) && ( prefixPath === null ) ) {
98
98
const npmCommand = process . platform === 'win32' ? 'npm.cmd' : 'npm' ;
99
- const env = Object . assign ( { } , consistentEnv ( ) ) ;
99
+ const env = { ... consistentEnv ( ) } ;
100
100
try {
101
101
prefixPath = spawnSync ( npmCommand , [
102
102
'get' ,
You can’t perform that action at this time.
0 commit comments