mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
Fix eslint rules (#5117)
* Fix semi linter rule * Fix semi-spacing linter rule * Fix no-undef-init linter rule * Fix space-before-blocks linter rule
This commit is contained in:
committed by
Julian Lam
parent
727710fbd9
commit
e515b791da
2
app.js
2
app.js
@@ -251,7 +251,7 @@ function setup() {
|
||||
install.setup(function (err, data) {
|
||||
var separator = ' ';
|
||||
if (process.stdout.columns > 10) {
|
||||
for(var x = 0,cols = process.stdout.columns - 10;x < cols;x++) {
|
||||
for(var x = 0,cols = process.stdout.columns - 10; x < cols; x++) {
|
||||
separator += '=';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user