mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-19 06:01:27 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const stat = fs.statSync(absolutePath);
|
const stat = fs.lstatSync(absolutePath);
|
||||||
|
if (stat.isSymbolicLink()) {
|
||||||
|
skippedFiles.push(`${relativePath} (skipped: symbolic link)`);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!stat.isFile()) {
|
if (!stat.isFile()) {
|
||||||
skippedFiles.push(relativePath);
|
skippedFiles.push(relativePath);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user