ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix standard lint
Chocobozzzf83e27958109
diff --git a/server/helpers/peertube-crypto.js b/server/helpers/peertube-crypto.jsindex 2e07df00e9..302ddca58d 100644--- a/server/helpers/peertube-crypto.js+++ b/server/helpers/peertube-crypto.js@@ -9,8 +9,6 @@ const ursa = require('ursa')const constants = require('../initializers/constants')const logger = require('./logger')-const algorithm = 'aes-256-ctr'-const peertubeCrypto = {checkSignature,comparePassword,@@ -113,11 +111,3 @@ function createCerts (callback) {})})}--function generatePassword (callback) {- crypto.randomBytes(32, function (err, buf) {- if (err) return callback(err)-- callback(null, buf.toString('utf8'))- })-}diff --git a/server/initializers/constants.js b/server/initializers/constants.jsindex 6f39b65da1..fc501845a9 100644--- a/server/initializers/constants.js+++ b/server/initializers/constants.js@@ -1,7 +1,6 @@'use strict'const config = require('config')-const maxBy = require('lodash/maxBy')const path = require('path')// ---------------------------------------------------------------------------diff --git a/server/initializers/migrations/0005-example.js b/server/initializers/migrations/0005-example.jsindex 481c2c4dd8..cedc429196 100644--- a/server/initializers/migrations/0005-example.js+++ b/server/initializers/migrations/0005-example.js@@ -1,14 +1,14 @@-/*- This is just an example.-*/+// /*+// This is just an example.+// */-const db = require('../database')+// const db = require('../database')-// options contains the transaction-exports.up = function (options, callback) {- // db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback)-}+// // options contains the transaction+// exports.up = function (options, callback) {+// db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback)+// }-exports.down = function (options, callback) {- throw new Error('Not implemented.')-}+// exports.down = function (options, callback) {+// throw new Error('Not implemented.')+// }