Commit f467d763 authored by nanahira's avatar nanahira

fix

parent 5a375cae
...@@ -187,7 +187,7 @@ var UploadToChallonge = function () { ...@@ -187,7 +187,7 @@ var UploadToChallonge = function () {
var receiveDecks = function(files, callback) { var receiveDecks = function(files, callback) {
var result = []; var result = [];
_async.each(files, (file, done) => { _async.eachSeries(files, (file, done) => {
if (_.endsWith(file.name, ".ydk")) { if (_.endsWith(file.name, ".ydk")) {
var deck = readDeck(file.name, file.path); var deck = readDeck(file.name, file.path);
if (deck.main.length >= 40) { if (deck.main.length >= 40) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment