Skip to content

Commit 07711b9

Browse files
Dextheking1RobinMalfait
authored andcommitted
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.
1 parent 86f3daf commit 07711b9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/@tailwindcss-cli/src/commands/build/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export async function handle(args: Result<ReturnType<typeof options>>) {
376376
// Create a new compiler, given the new `input`
377377
;[compiler, scanner] = await createCompiler(input, I)
378378

379-
// Succesfully created a new compiler, so the `fullRebuildPaths`
379+
// Successfully created a new compiler, so the `fullRebuildPaths`
380380
// will be updated. If other errors occur, we should be able to
381381
// restore the paths unconditionally.
382382
backupRebuildPaths = fullRebuildPaths.slice()

‎packages/tailwindcss/src/candidate.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ const printArbitraryValueCache = new DefaultMap<string, string>((input) => {
10981098
node.value = ','
10991099
}
11001100

1101-
// Wrap custom functions starting with `--`, in parentheses if preceeded by
1101+
// Wrap custom functions starting with `--`, in parentheses if preceded by
11021102
// a symbol. E.g.: `calc(100%---spacing(2))` → `calc(100%-(--spacing(2)))`
11031103
else if (node.kind === 'function' && node.value.startsWith('--')) {
11041104
let idx = ctx.index

0 commit comments

Comments
 (0)