Merge remote-tracking branch 'upstream/main' into rvermeulen/extend-init-complete-status-report

This commit is contained in:
Remco Vermeulen 2024-08-06 09:11:17 -07:00
commit 7c2bec0cc3
2390 changed files with 80665 additions and 3034 deletions

View file

@ -516,7 +516,7 @@ export function parseGitHubUrl(inputUrl: string): string {
let url: URL;
try {
url = new URL(inputUrl);
} catch (e) {
} catch {
throw new ConfigurationError(`"${originalUrl}" is not a valid URL`);
}
@ -753,7 +753,7 @@ export function doesDirectoryExist(dirPath: string): boolean {
try {
const stats = fs.lstatSync(dirPath);
return stats.isDirectory();
} catch (e) {
} catch {
return false;
}
}