gherkin-lint
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "gherkin-lint", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A Gherkin linter/validator written in javascript", | ||
@@ -5,0 +5,0 @@ "author": "Vasiliki Siakka", |
@@ -9,3 +9,3 @@ var fs = require('fs'); | ||
lines.forEach(function(line) { | ||
if (/[\s]+$/.test(line)) { | ||
if (/[\t ]+[\n\r]*$/.test(line)) { | ||
errors.push({message: 'Trailing spaces are not allowed', | ||
@@ -12,0 +12,0 @@ rule : rule, |
Sorry, the diff of this file is not supported yet
38827