Module "pack/node/pushtest/nodePushTests"
Variables
Const IsAtomistAutomationClient
Is
AtomistAutomationClient: PredicatePushTest = predicatePushTest("Is Automation Client", async p => {try {const pjFile = await p.getFile("package.json");const pjString = await pjFile.getContent();interface PJ {dependencies: {[key: string]: string;};}const pj: PJ = JSON.parse(pjString);if (!pj || !pj.dependencies) {return false;}return !!(pj.dependencies["@atomist/automation-client"] || pj.dependencies["@atomist/sdm"]);} catch (e) {return false;}})