Skip to content

Commit eda9489

Browse files
Build package
1 parent 4e2d165 commit eda9489

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dist/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15226,6 +15226,11 @@ const runAction = async () => {
1522615226
for (let i = 0; i < comments.length; i++) {
1522715227
const comment = comments[i];
1522815228
const path = comment.path;
15229+
if (!isFileSupported(path)) {
15230+
console.log(`Skipping unsupported file ${path}`);
15231+
continue;
15232+
}
15233+
1522915234
const line = lineNumber(comment);
1523015235
const language = langFromFileExtension(path);
1523115236
console.log(`Running code generation for file ${path}. Language detected: ${language}. Line number: ${line}. Prompt: ${comment.body}`);

0 commit comments

Comments
 (0)