lint cleanup

This commit is contained in:
Josh Harvey 2014-11-20 23:06:14 -05:00
parent e12238c4fe
commit 2c756e231a
8 changed files with 20 additions and 21 deletions

View file

@ -9,12 +9,10 @@ var logLevel = process.env.LAMASSU_ENV === 'debug' ?
var bunyan = bunyan.createLogger({name: 'lamassu-server', level: logLevel});
// log version
var version = require('../package.json').version;
bunyan.info('Version: %s', version);
// log git stuff (optional)
// `git-rev` omits `err` param in callback, without this wrapper
// `async` interprets returned values as errors.
@ -33,7 +31,6 @@ try {
function(err, values) {
bunyan.info('Git: #%s @%s', values[0], values[1]);
});
} catch(_) {}
} catch (_) {}
module.exports = bunyan;