pulumi/sdk/nodejs/dist/pulumi-analyzer-policy

6 lines
245 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2019-08-07 02:02:28 +02:00
PULUMI_RUN_SCRIPT_PATH=$(node -e "try { console.log(require.resolve('@pulumi/pulumi/cmd/run-policy-pack')) } catch (e) { console.error(e.message) }")
if [ ! -z "$PULUMI_RUN_SCRIPT_PATH" ]; then
node "$PULUMI_RUN_SCRIPT_PATH" $@
fi