MCPcopy Create free account
hub / github.com/angular/dev-infra / isDryRun

Function isDryRun

ng-dev/utils/dry-run.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29/** Whether the current environment is in dry run mode. */
30export function isDryRun(): boolean {
31 return process.env['DRY_RUN'] !== undefined;
32}
33
34/** Error to be thrown when a function or method is called in dryRun mode and shouldn't be. */
35export class DryRunError extends Error {

Callers 1

runGracefulMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected