drupflare/drangler - v0.1.0
    Preparing search index...

    Function resolveSource

    • Resolves where the worker checkout comes from: the flag, then the environment, then the default.

      A LOCAL PATH IS A FIRST-CLASS SOURCE, not a test affordance. git clone /path/to/worker is an ordinary clone of a repository that happens to be on this disk, which is what makes every step below clone exercisable before drupflare/worker is published -- and what lets somebody run this against a fork without publishing one.

      Parameters

      • env: ProcessEnv
      • Optionalflag: string
      • Optionalref: string

      Returns WorkerSource