From b35837c9abe2f6b79abbd5e7a58830521267f8b5 Mon Sep 17 00:00:00 2001 From: Cr4xy Date: Tue, 26 Oct 2021 08:02:19 +0200 Subject: change comment in redundant-return --- script/core/diagnostics/redundant-return.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/core/diagnostics/redundant-return.lua b/script/core/diagnostics/redundant-return.lua index b76d8efa..486db6cd 100644 --- a/script/core/diagnostics/redundant-return.lua +++ b/script/core/diagnostics/redundant-return.lua @@ -3,7 +3,7 @@ local guide = require 'parser.guide' local lang = require 'language' local define = require 'proto.define' --- reports 'return' or 'return nil' at the end of functions +-- reports 'return' without any return values at the end of functions return function (uri, callback) local ast = files.getState(uri) if not ast then -- cgit v1.2.3