Skip to content

Commit

Permalink
Allow flashing large binaries for the RPi
Browse files Browse the repository at this point in the history
Sneaky RPi commit
  • Loading branch information
monkbroc committed Sep 22, 2016
1 parent c3aa52a commit d7e5a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/CloudCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -1092,8 +1092,8 @@ CloudCommand.prototype = extend(BaseCommand.prototype, {
continue;
}

if (filestats.size > settings.MAX_FILE_SIZE) {
console.log('Skipping ' + filename + " it's too big! " + stats.size);
if (!alwaysIncludeThisFile && filestats.size > settings.MAX_FILE_SIZE) {
console.log('Skipping ' + filename + " it's too big! " + filestats.size);
continue;
}
files.list.push(filename);
Expand Down

0 comments on commit d7e5a3c

Please sign in to comment.