File tree 2 files changed +3
-4
lines changed
lib/cli-engine/config-array
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ target.gensite = function(prereleaseVersion) {
761
761
762
762
// 11. Generate rule listing page
763
763
echo ( "> Generating the rule listing (Step 11)" ) ;
764
- generateRuleIndexPage ( process . cwd ( ) ) ;
764
+ generateRuleIndexPage ( ) ;
765
765
766
766
// 12. Delete temporary directory
767
767
echo ( "> Removing the temporary directory (Step 12)" ) ;
@@ -1088,7 +1088,7 @@ target.perf = function() {
1088
1088
// Count test target files.
1089
1089
const count = glob . sync (
1090
1090
process . platform === "win32"
1091
- ? PERF_MULTIFILES_TARGETS . slice ( 2 ) . replace ( "\\" , "/" )
1091
+ ? PERF_MULTIFILES_TARGETS . slice ( 2 ) . replace ( / \\ / gu , "/" )
1092
1092
: PERF_MULTIFILES_TARGETS
1093
1093
) . length ;
1094
1094
Original file line number Diff line number Diff line change @@ -231,7 +231,6 @@ function mergeRuleConfigs(target, source) {
231
231
* @returns {ExtractedConfig } The extracted config.
232
232
*/
233
233
function createConfig ( instance , indices ) {
234
- const slots = internalSlotsMap . get ( instance ) ;
235
234
const config = new ExtractedConfig ( ) ;
236
235
237
236
// Merge elements.
@@ -256,7 +255,7 @@ function createConfig(instance, indices) {
256
255
mergeWithoutOverwrite ( config . globals , element . globals ) ;
257
256
mergeWithoutOverwrite ( config . parserOptions , element . parserOptions ) ;
258
257
mergeWithoutOverwrite ( config . settings , element . settings ) ;
259
- mergePlugins ( config . plugins , element . plugins , slots ) ;
258
+ mergePlugins ( config . plugins , element . plugins ) ;
260
259
mergeRuleConfigs ( config . rules , element . rules ) ;
261
260
}
262
261
You can’t perform that action at this time.
0 commit comments