diff --git a/lib/support/windows.js b/lib/support/windows.js index 869c02ad5a..cce265ceb5 100644 --- a/lib/support/windows.js +++ b/lib/support/windows.js @@ -11,10 +11,10 @@ export async function checkWindowsLongPath() { shell: 'powershell.exe' } ); - if (stdout === '1') { - log.info('LongPaths is enabled'); - } else if (stdout === '0') { - log.info('LongPaths is not enabled'); + if (stdout === '0') { + log.info( + 'LongPaths is not enabled and that can make testing fail. Read https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry on how to enable long paths' + ); } } }