pulumi/tests/integration/nodejs/sourcemap-in-program-precom.../index.ts

11 lines
196 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
export function willThrow() {
if (true) {
pulumi.log.error("Oh no!");
throw new Error("this is a test error");
}
}
willThrow();