mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 13:52:20 +01:00
silence false positive
This commit is contained in:
@@ -1940,7 +1940,7 @@ void WebServer::handleRequest(AsyncWebServerRequest *request) {
|
||||
|
||||
// No matching handler found - send 404
|
||||
ESP_LOGV(TAG, "Request for unknown URL: %s", url.c_str());
|
||||
request->send(404, CONTENT_TYPE_PLAIN, MSG_NOT_FOUND);
|
||||
request->send(404, CONTENT_TYPE_PLAIN, MSG_NOT_FOUND); // NOLINT(readability-suspicious-call-argument)
|
||||
}
|
||||
|
||||
bool WebServer::isRequestHandlerTrivial() const { return false; }
|
||||
|
Reference in New Issue
Block a user