Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
5f57a27ff6
commit
7dd63fa9c8
1 file changed
+1
-1
+1
-1
@@ -797,7 +797,7 @@ class HassAdapter extends Adapter {
|
||||
|
||||
const rawPatterns = (this.config.excludePatterns || '').toString();
|
||||
this.excludePatterns = rawPatterns
|
||||
.split('\n')
|
||||
.split(/\r?\n/)
|
||||
.map(s => s.trim())
|
||||
.filter(line => line.length > 0 && !line.startsWith('#'));
|
||||
|
||||
|
||||
Reference in new issue
Block a user