mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-14 20:05:15 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -350,7 +350,11 @@ function main() {
|
||||
continue;
|
||||
}
|
||||
|
||||
const stat = fs.statSync(absolutePath);
|
||||
const stat = fs.lstatSync(absolutePath);
|
||||
if (stat.isSymbolicLink()) {
|
||||
skippedFiles.push(`${relativePath} (skipped: symbolic link)`);
|
||||
continue;
|
||||
}
|
||||
if (!stat.isFile()) {
|
||||
skippedFiles.push(relativePath);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user