Skip to content

Commit

Permalink
better text
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 20, 2023
1 parent 50903ec commit 1471d26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/support/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
}
}
}

0 comments on commit 1471d26

Please sign in to comment.