Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/deploy/functions/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

await setupArtifactCleanupPolicies(
options,
options.projectId!,

Check warning on line 109 in src/deploy/functions/release/index.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Forbidden non-null assertion
Object.keys(wantBackend.endpoints),
);

Expand Down Expand Up @@ -198,8 +198,8 @@
);
throw new FirebaseError(
`Functions successfully deployed but could not set up cleanup policy in ` +
`${locationsWithErrors.length > 1 ? "regions" : "region"} ${locationsWithErrors.join(", ")}.` +
`Pass the --force option to automatically set up a cleanup policy or` +
`${locationsWithErrors.length > 1 ? "regions" : "region"} ${locationsWithErrors.join(", ")}. ` +
`Pass the --force option to automatically set up a cleanup policy or ` +
"run 'firebase functions:artifacts:setpolicy' to set up a cleanup policy to automatically delete old images.",
);
}
Expand Down
Loading