mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(reset) operation: rm unused: wasError
This commit is contained in:
parent
47b12bb07a
commit
a2fd2b8bd8
1 changed files with 1 additions and 2 deletions
|
|
@ -262,7 +262,7 @@
|
|||
}
|
||||
|
||||
function operation(op, from, to, names, fn) {
|
||||
var packer, wasError;
|
||||
var packer;
|
||||
|
||||
if (!fn) {
|
||||
fn = names;
|
||||
|
|
@ -274,7 +274,6 @@
|
|||
packer = jaguar[op](from, to, names);
|
||||
|
||||
packer.on('error', function(error) {
|
||||
wasError = true;
|
||||
fn(error);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue