Skip to content

Commit 4438c29

Browse files
authored
Fixed a minor issue with spinner
1 parent dbad99f commit 4438c29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ module.exports = function (S) { // Always pass in the ServerlessPlugin Class
131131
evt.options,
132132
config && config.start
133133
),
134-
_spinner = SCli.spinner();;
134+
_spinner = SCli.spinner();;
135135
if (options.create) {
136136
dynamodb.start(options).then(function () {
137137
console.log(""); // seperator
138138
self.table(evt).then(resolve, reject);
139139
});
140140
} else {
141-
_spinner.start()
142-
dynamodb.start(options).then(resolve, reject);
141+
_spinner.start()
142+
dynamodb.start(options, _spinner).then(resolve, reject);
143143
}
144144
});
145145
}

0 commit comments

Comments
 (0)