Update stuff so we can pass build hopefully
Build and Push Next App / quality (push) Successful in 2m3s
Build and Push Next App / build-next (push) Failing after 4s

This commit is contained in:
Gabriel Brown
2026-06-21 21:55:58 -05:00
parent b9c13b944f
commit fa83f720a8
+4 -1
View File
@@ -7,11 +7,14 @@ const __dirname = path.dirname(__filename);
const usesendDir = path.join(__dirname, '..', 'node_modules', 'usesend-js');
const ensureReplacement = (content, searchValue, replaceValue, filePath) => {
if (content.includes(replaceValue)) {
if (replaceValue !== '' && content.includes(replaceValue)) {
return content;
}
if (!content.includes(searchValue)) {
if (replaceValue === '') {
return content;
}
throw new Error(`Expected snippet not found in ${filePath}`);
}