diff --git a/asset/snippets/exportAssets.js b/asset/snippets/exportAssets.js index a3fcbfba736..bd30bb212c5 100644 --- a/asset/snippets/exportAssets.js +++ b/asset/snippets/exportAssets.js @@ -49,7 +49,7 @@ async function main(dumpFilePath) { // Do things with with the response. console.log(result); } - exportAssets().catch((err) => { + exportAssets().catch(err => { throw err; }); // [END asset_quickstart_export_assets] diff --git a/asset/snippets/test/sample.test.js b/asset/snippets/test/sample.test.js index 425068261bc..f2b12b3a43e 100644 --- a/asset/snippets/test/sample.test.js +++ b/asset/snippets/test/sample.test.js @@ -49,7 +49,7 @@ describe('quickstart sample tests', () => { await bucket.delete(); }); - it('should export assets to specified path', async function() { + it('should export assets to specified path', async function () { this.retries(2); await delay(this.test); const dumpFilePath = `gs://${bucketName}/my-assets.txt`;