fixed lint errors
This commit is contained in:
Родитель
45ddd028fb
Коммит
699542a9ee
|
@ -41,12 +41,14 @@ function main() {
|
|||
|
||||
var Server = require('../server')
|
||||
var server = null
|
||||
var mailer = null
|
||||
|
||||
// TODO: send to the SMTP server directly. In the future this may change
|
||||
// to another process that we send an http request to.
|
||||
require('../mailer')(config, log)
|
||||
.then(
|
||||
function(mailer) {
|
||||
function(m) {
|
||||
mailer = m
|
||||
// server public key
|
||||
var serverPublicKey = JSON.parse(fs.readFileSync(config.publicKeyFile))
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
var fs = require('fs')
|
||||
|
||||
var request = require('request')
|
||||
|
|
Загрузка…
Ссылка в новой задаче