mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-03 07:42:37 -08:00
AWS Plugin: Don't error when no files to load
This commit is contained in:
parent
fffd0ee9e1
commit
d38b42f7c7
1 changed files with 2 additions and 2 deletions
|
|
@ -59,8 +59,8 @@ Command.prototype.subCommands["s3-load"] = function() {
|
|||
bucket = this.params[2],
|
||||
filepaths = this.params.slice(3);
|
||||
// Check parameters
|
||||
if(!region || !bucket || filepaths.length < 1) {
|
||||
throw "Missing parameters";
|
||||
if(!region || !bucket) {
|
||||
self.callback("Missing parameters");
|
||||
}
|
||||
async.eachLimit(
|
||||
filepaths,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue