@@ -19,7 +19,7 @@ const {
1919 deleteCloudFrontDistribution,
2020 createOrUpdateMetaRole,
2121 removeAllRoles,
22- getMetrics,
22+ getMetrics
2323} = require ( './utils' )
2424
2525class Website extends Component {
@@ -49,7 +49,7 @@ class Website extends Component {
4949 )
5050 }
5151
52- await createOrUpdateMetaRole ( this , inputs , clients , this . accountId ) ;
52+ await createOrUpdateMetaRole ( this , inputs , clients , this . accountId )
5353
5454 if ( config . domain ) {
5555 log ( `Setting up domain ${ config . domain } ` )
@@ -162,7 +162,7 @@ class Website extends Component {
162162
163163 const clients = getClients ( this . credentials . aws , this . state . region )
164164
165- await removeAllRoles ( this , clients ) ;
165+ await removeAllRoles ( this , clients )
166166
167167 log ( `Clearing bucket ${ config . bucketName } ` )
168168 await clearBucket ( clients , config . bucketName )
@@ -202,7 +202,7 @@ class Website extends Component {
202202 async metrics ( inputs = { } ) {
203203 // Validate
204204 if ( ! inputs . rangeStart || ! inputs . rangeEnd ) {
205- throw new Error ( 'rangeStart and rangeEnd are require inputs' ) ;
205+ throw new Error ( 'rangeStart and rangeEnd are require inputs' )
206206 }
207207
208208 const result = await getMetrics (
@@ -211,9 +211,9 @@ class Website extends Component {
211211 this . state . distributionId ,
212212 inputs . rangeStart ,
213213 inputs . rangeEnd
214- ) ;
214+ )
215215
216- return result ;
216+ return result
217217 }
218218}
219219
0 commit comments