File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
tests/rewatch_tests/helpers Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ async function assertFixtureClean() {
5656 * This is needed on Windows where git checkout may convert line endings
5757 * despite .gitattributes settings, causing the formatter to detect changes.
5858 */
59- async function normalizeLineEndings ( dir , stats = { checked : 0 , normalized : 0 } ) {
59+ async function normalizeLineEndings (
60+ dir ,
61+ stats = { checked : 0 , normalized : 0 } ,
62+ ) {
6063 const entries = await readdir ( dir , { withFileTypes : true } ) ;
6164 for ( const entry of entries ) {
6265 const fullPath = join ( dir , entry . name ) ;
@@ -93,7 +96,9 @@ export async function createSandbox() {
9396 // Normalize to LF so the formatter doesn't detect spurious changes.
9497 if ( process . platform === "win32" ) {
9598 const stats = await normalizeLineEndings ( realDir ) ;
96- console . log ( `[sandbox] Line ending normalization: checked ${ stats . checked } files, normalized ${ stats . normalized } ` ) ;
99+ console . log (
100+ `[sandbox] Line ending normalization: checked ${ stats . checked } files, normalized ${ stats . normalized } ` ,
101+ ) ;
97102 }
98103
99104 // Run yarn install to create proper node_modules workspace symlinks.
You can’t perform that action at this time.
0 commit comments