fix: scan getStaticPaths
only in .astro
files
#7876
Merged
getStaticPaths
only in .astro
files
#7876