Skip to content

Commit

Permalink
Merge branch 'fix/link-exact-match' of https://github.com/dylanspyer/…
Browse files Browse the repository at this point in the history
…netlify-cli into fix/link-exact-match
  • Loading branch information
dylanspyer committed Oct 17, 2024
2 parents 1a0a23d + 229abf0 commit 030de81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/sites/sites-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const sitesList = async (options: OptionValues, command: BaseCommand) =>
// Json response for piping commands
if (options.json) {
const redactedSites = sites.map((site) => {
if (site && site.build_settings && site.build_settings.env) {
if (site?.build_settings?.env) {
delete site.build_settings.env
}
return site
Expand Down

0 comments on commit 030de81

Please sign in to comment.