Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
"binpatch": "^0.4.2",
"chalk": "^5.6.2",
"cli-highlight": "^2.1.11",
"consola": "^3.4.2",
"esbuild": "^0.28.1",
"fast-check": "^4.8.0",
"fflate": "^0.8.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function preloadProjectContext(cwd: string): Promise<void> {
// Apply .sentryclirc env shim (token + URL). The URL trust check is
// deferred to buildCommand's wrapper where commands can opt out via
// skipRcUrlCheck (used by auth login/logout).
// Dynamic import: sentryclirc chains into db/index → sqlite, logger → consola
// Dynamic import: sentryclirc chains into db/index → sqlite and the logger
const { applySentryCliRcEnvShim } = await import("./lib/sentryclirc.js");
await applySentryCliRcEnvShim(cwd);

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/issue/plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async function confirmRootCauseAndContinue(
initial: true,
});

// consola returns a non-boolean (Symbol(clack:cancel)) when cancelled.
// The prompt returns a non-boolean (clack's cancel symbol) when cancelled.
if (proceed === true) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/log/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function formatIdList(ids: string[]): string {

/**
* Warn about IDs that weren't found in the API response.
* Uses the consola logger for structured output to stderr.
* Uses the logger for structured output to stderr.
*
* @param logIds - All requested IDs
* @param logs - Logs actually returned by the API
Expand Down Expand Up @@ -310,7 +310,7 @@ async function handleWebOpen(orgSlug: string, logIds: string[]): Promise<void> {
type: "confirm",
initial: false,
});
// consola prompt returns Symbol(clack:cancel) on Ctrl+C — a truthy value.
// The prompt returns Symbol(clack:cancel) on Ctrl+C — a truthy value.
// Strictly check for `true` to avoid opening tabs on cancel.
if (confirmed !== true) {
return;
Expand Down
Loading
Loading