Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Jan 7, 2025
1 parent 04cd065 commit 5e6b132
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions R/rlistings_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ print.listing_df <- function(x, widths = NULL, tf_wrap = FALSE, max_width = NULL
...
)
)
}, error = function(e) {
if (nrow(x) == 0){
print("No observation in the listing object.")
}
}, error = function(e) {
if (nrow(x) == 0) {
print("No observation in the listing object.")
}
)
})
invisible(x)
}

Expand Down

0 comments on commit 5e6b132

Please sign in to comment.