Skip to content

Commit 1ff1438

Browse files
committed
Fixed code quality issues
1 parent 8fc3242 commit 1ff1438

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ class ServerlessDynamodbLocal {
124124

125125
if(options && options.online){
126126
this.serverlessLog("Connecting to online tables...");
127-
if (!options.region) throw new Error("please specify the region");
127+
if (!options.region) {
128+
throw new Error("please specify the region");
129+
}
128130
dynamoOptions = {
129131
region: options.region,
130132
};

0 commit comments

Comments
 (0)