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

Chore/Detect C++ Console Logs #340

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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