Best way to force Vercel build to fail If certain code is included?

Does anyone know a way to force a Vercel build to fail if a certain piece of code exists?
Was this page helpful?