Skip to content

Commit

Permalink
Remove log (#70)
Browse files Browse the repository at this point in the history
* Remove log

Files list was log without prompt.

* Use the logger

* chore: Change log level for file output from debug to info

* Revert change on debug level for different call
  • Loading branch information
GMartigny authored and SargoDarya committed Feb 6, 2018
1 parent 63044dc commit c487140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audiosprite.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,13 @@ module.exports = function(files) {

var rawparts = opts.rawparts.length ? opts.rawparts.split(',') : null
var i = 0
console.log(files);
opts.logger.info(files);
async.forEachSeries(files, function(file, cb) {
i++

makeRawAudioFile(file, function(err, tmp) {
if (err) {
console.log(err);
opts.logger.debug(err);
return cb(err)
}

Expand Down

0 comments on commit c487140

Please # to comment.