private getContextVariable()

in cicd/lib/cicd-stack.ts [196:204]


    private getContextVariable(name:string, desc:string): string {
        const contextVariable = this.node.tryGetContext(name);

        if (contextVariable === undefined) {
            throw new Error(`Variable undefined: ${name}\n${desc}`);
        }

        return contextVariable;
    }