environment: noUndefined()

in lib/publishing.ts [432:443]


      environment: noUndefined({
        BUILD_MANIFEST: props.buildManifestFileName || './build.json',
        CHANGELOG: props.changelogFileName || './CHANGELOG.md',
        RELEASE_NOTES: props.releaseNotesFileName || './RELEASE_NOTES.md',
        SIGNING_KEY_ARN: props.signingKey.credential.secretArn,
        GITHUB_OWNER: props.githubRepo.owner,
        GITHUB_REPO: props.githubRepo.repo,
        FOR_REAL: forReal,
        // Transmit the names of the secondary sources to the shell script (for easier iteration)
        SECONDARY_SOURCE_NAMES: props.additionalInputArtifacts ? props.additionalInputArtifacts.map(a => a.artifactName).join(' ') : undefined,
        SIGN_ADDITIONAL_ARTIFACTS: props.additionalInputArtifacts && props.signAdditionalArtifacts !== false ? 'true' : undefined,
      }),