Skip to content

Commit 151f05e

Browse files
committed
Normalize the glob path for Windows on CI.
1 parent bccb29a commit 151f05e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/stylelint/lib/warning-thresholds.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ROOT = path.resolve( __dirname, '..', '..', '..' );
2424
const THRESHOLDS_FILE = path.join( __dirname, '..', 'warning-thresholds.json' );
2525
const CONFIG_FILE = path.join( ROOT, '.stylelintrc.js' );
2626
const IGNORE_PATH = path.join( ROOT, '.stylelintignore' );
27-
const FILES_GLOB = path.join( ROOT, 'src/**/*.{css,scss}' );
27+
const FILES_GLOB = path.join( ROOT, 'src/**/*.{css,scss}' ).split( path.sep ).join( '/' );
2828

2929
/**
3030
* Lints core CSS and returns the raw Stylelint results.

0 commit comments

Comments
 (0)