MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / exec

Function exec

cloud-tasks/snippets/test/test.samples.js:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21const {CloudTasksClient} = require('@google-cloud/tasks');
22
23const exec = cmd => execSync(cmd, {encoding: 'utf-8'});
24const queueName = `gcloud-${uuid.v4().split('-')[0]}`;
25const SERVICE_ACCOUNT =
26 'test-run-invoker@long-door-651.iam.gserviceaccount.com';

Callers 1

test.samples.jsFile · 0.70

Calls 1

execSyncFunction · 0.50

Tested by

no test coverage detected