Misc minor cleanup

This commit is contained in:
Bryan Ashby 2016-08-03 19:38:06 -06:00
parent c93638a5e6
commit 3d098e927a
1 changed files with 8 additions and 9 deletions

View File

@ -1,19 +1,18 @@
/* jslint node: true */
'use strict';
var fs = require('fs');
var paths = require('path');
var assert = require('assert');
var iconv = require('iconv-lite');
// ENiGMA½
var conf = require('./config.js');
var miscUtil = require('./misc_util.js');
var binary = require('binary');
var events = require('events');
var util = require('util');
var ansi = require('./ansi_term.js');
var aep = require('./ansi_escape_parser.js');
var sauce = require('./sauce.js');
// deps
var fs = require('fs');
var paths = require('path');
var assert = require('assert');
var iconv = require('iconv-lite');
var _ = require('lodash');
exports.getArt = getArt;
@ -207,7 +206,7 @@ function getArt(name, options, cb) {
getArtFromPath(readPath, options, cb);
} else {
cb(new Error('No matching art for supplied criteria'));
return cb(new Error(`No matching art for supplied criteria: ${name}`));
}
});
}