diff --git a/packages/google-cloud-asset/samples/quickstart.js b/packages/google-cloud-asset/samples/quickstart.js index 11bc75706db2..ef8d3cb17d20 100644 --- a/packages/google-cloud-asset/samples/quickstart.js +++ b/packages/google-cloud-asset/samples/quickstart.js @@ -49,7 +49,7 @@ async function main(assetNames) { console.log(util.inspect(result, {depth: null})); // [END asset_quickstart] } - quickstart(); + await quickstart(); } main(...process.argv.slice(2));