fix: correct two comment typos

- packages/@tailwindcss-cli/src/commands/build/index.ts:
  'Succesfully' -> 'Successfully'
- packages/tailwindcss/src/candidate.ts:
  'preceeded' -> 'preceded'

Comment-only changes; no behavior affected.
This commit is contained in:
Dextheking1 2026-09-22 22:35:41 +02:00 • committed by Robin Malfait
parent 722acdfebf
commit cdfc5b8281
2 changed files with 2 additions and 2 deletions

View file

@ -376,7 +376,7 @@ export async function handle(args: Result<ReturnType<typeof options>>) {
// Create a new compiler, given the new `input`
;[compiler, scanner] = await createCompiler(input, I)
// Succesfully created a new compiler, so the `fullRebuildPaths`
// Successfully created a new compiler, so the `fullRebuildPaths`
// will be updated. If other errors occur, we should be able to
// restore the paths unconditionally.
backupRebuildPaths = fullRebuildPaths.slice()

View file

@ -1098,7 +1098,7 @@ const printArbitraryValueCache = new DefaultMap<string, string>((input) => {
node.value = ','
}
// Wrap custom functions starting with `--`, in parentheses if preceeded by
// Wrap custom functions starting with `--`, in parentheses if preceded by
// a symbol. E.g.: `calc(100%---spacing(2))` → `calc(100%-(--spacing(2)))`
else if (node.kind === 'function' && node.value.startsWith('--')) {
let idx = ctx.index