File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ module.exports = function(S) { // Always pass in the ServerlessPlugin Class
110
110
remove ( ) {
111
111
//return dynamodb.remove();
112
112
return dynamodbLocal . remove ( function ( ) {
113
-
113
+ console . log ( "hello" ) ;
114
114
} ) ;
115
115
}
116
116
@@ -153,12 +153,15 @@ module.exports = function(S) { // Always pass in the ServerlessPlugin Class
153
153
config && config . start
154
154
) ;
155
155
if ( options . create ) {
156
- dynamodbLocal . start ( options ) . then ( function ( ) {
157
- console . log ( "" ) ; // seperator
158
- self . table ( evt ) . then ( resolve , reject ) ;
159
- } ) ;
156
+ dynamodbLocal . start ( options ) //.then(function() {
157
+ console . log ( "started1" ) ; // seperator
158
+ self . table ( evt ) //.then(resolve, reject);
159
+ resolve ( ) ;
160
+ //});
160
161
} else {
161
- dynamodbLocal . start ( options ) . then ( resolve , reject ) ;
162
+ dynamodbLocal . start ( options ) //.then(resolve, reject);
163
+ console . log ( "started2" ) ; // seperator
164
+ resolve ( ) ;
162
165
}
163
166
} ) ;
164
167
}
You can’t perform that action at this time.
0 commit comments