Re-enable the max-len ESLint rule. (#5265)
This commit is contained in:
@@ -312,7 +312,10 @@ suites.forEach(function (testSuite) {
|
||||
});
|
||||
const result = generate(actualAst, task.options, actualCode);
|
||||
|
||||
if (!expect.code && result.code && fs.statSync(path.dirname(expect.loc)).isDirectory() && !process.env.CI) {
|
||||
if (
|
||||
!expect.code && result.code && fs.statSync(path.dirname(expect.loc)).isDirectory() &&
|
||||
!process.env.CI
|
||||
) {
|
||||
console.log(`New test file created: ${expect.loc}`);
|
||||
fs.writeFileSync(expect.loc, result.code);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user