Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #340 from watermelontools/chore/detect-cpp-console…
Browse files Browse the repository at this point in the history
…-logs

Chore/Detect C++ Console Logs
  • Loading branch information
baristaGeek authored Oct 26, 2023
2 parents cfe74c9 + 894cc1a commit c62f679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/actions/detectConsoleLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ export default async function detectConsoleLogs({

const consoleLogDetectionPrompt = `This is a list of code additions. Identify
if there's a console log or its equivalent in another programming language
(console.log(), println(), System.out.println(), print(), fmt.Println(), etc.).
such as Java, Golang, Python, C, Rust, C++, etc.
(console.log(), println(), println!(), System.out.println(), print(), fmt.Println(), and cout << "Print a String" << endl; are some examples).
If the console log or its equivalent in another language is in a code comment, don't
count it as a detected console log. For example JavaScript comments start with // or /*,
Python comments start with #.
Expand Down

0 comments on commit c62f679

Please sign in to comment.