Skip to content

Commit

Permalink
uncomments an error throwing check
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 25, 2024
1 parent d52a6c7 commit 5baba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/src/plugins/codeTypeChecking/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ async function assertThatUserIsNotRemovedDocsVariableByMistake(path, codeSnippet
if (data.includes("THIS FILE CONTAINS DOCS VARIABLES. PLEASE DO NOT FORGET TO USE THOSE") && !codeSnippet.includes("THIS FILE CONTAINS DOCS VARIABLES. PLEASE DO NOT FORGET TO USE THOSE")) {
let message = "DID YOU FORGET TO USE DOCS VARIABLES IN A RECENT CODE CHANGE? PLEASE CHECK"
+ "\n\nIf you think this error is unrelated to your changes, try deleting the `snippets` folder for all languages and run again.\n\nThe file path is: " + path
// return rej(new Error(message));
return rej(new Error(message));
}
}
res();
Expand Down

0 comments on commit 5baba1e

Please sign in to comment.