class ViteRuby::MissingEntrypointError
def possible_causes(last_build)
def possible_causes(last_build) if last_build.success == false FAILED_BUILD_CAUSES .sub(":mode:", config.mode) .sub(":errors:", last_build.errors.to_s.gsub(/^(?!$)/, " ")) elsif config.auto_build DEFAULT_CAUSES else DEFAULT_CAUSES + NO_AUTO_BUILD_CAUSES end end