Skip to content

Commit

Permalink
fix: improve Anchor version warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Jul 1, 2024
1 parent 28fc42e commit 3696d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-solana-dapp/lib/final-note.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, magentaBright, greenBright, redBright, yellowBright } from 'chalk'
import { bold, greenBright, magentaBright, yellowBright } from 'chalk'
import { GetArgsResult } from './get-args-result'
import { validateAnchorVersion } from './validate-anchor-version'

Expand All @@ -24,7 +24,7 @@ export function finalNote(args: GetArgsResult & { target: string }): string {
} else if (!valid) {
lines.push(
...[
yellowBright(`Found Anchor version ${version}. Please upgrade to Anchor ${requiredVersion}.`),
yellowBright(`Found Anchor version ${version}. Expected Anchor version ${requiredVersion}.`),
'https://www.anchor-lang.com/release-notes/0.30.0',
],
)
Expand Down

0 comments on commit 3696d31

Please sign in to comment.