Skip to content

Commit

Permalink
Improve no site versions found message (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzyl authored Feb 28, 2024
1 parent e9e7ab4 commit 4e8ff21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/cli/changelog/@unreleased/pr-97.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: improvement
improvement:
description: Improve no site versions found message
links:
- https://github.com/palantir/osdk-ts/pull/97
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ export default async function versionListCommand(
]);

if (versions.length === 0) {
consola.warn(
"Successfully connected to server, but no versions were found.",
);
consola.info("No site versions found");
return;
}

Expand Down

0 comments on commit 4e8ff21

Please sign in to comment.