Skip to content

Commit 4e04de3

Browse files
committed
docs: ensure consistent spelling of “clean-up”
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
1 parent a633d30 commit 4e04de3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/cli/file-pass.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async function replaceFileAtomically(label, output) {
9696
await rename(staged, target);
9797
} finally {
9898
// Covers write/chmod/rename failures. A forced process termination cannot
99-
// run cleanup, but it can at most leave this private, clearly named stage
99+
// run clean-up, but it can at most leave this private, clearly named stage
100100
// directory behind; the original target remains intact until `rename()`.
101101
await rm(stageDir, { recursive: true, force: true });
102102
}

‎src/consolidate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function consolidateRoot(root, options = {}) {
112112
// the wire) is a transfer-size concern.
113113
const before = Buffer.byteLength(root.toString(), 'utf8');
114114

115-
// Blocks already empty in the source, so the cleanup at the end only ever
115+
// Blocks already empty in the source, so the clean-up at the end only ever
116116
// removes what this run emptied
117117
const initiallyEmpty = new Set();
118118
const aggressive = options.aggressive ?? false;

‎src/lib/normalization.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export function normalizeValue(prop, rawValue, aggressive = false) {
367367
value = normalizeTimeUnits(value);
368368
if (aggressive) value = normalizeAngleUnits(value);
369369
// Both unit conversions above emit freshly-scaled decimals (`0.3s` →
370-
// `300.0ms`), so the decimal cleanup runs after them—and the `min()`/`max()`
370+
// `300.0ms`), so the decimal clean-up runs after them—and the `min()`/`max()`
371371
// sort after that, so differently-spelled equal arguments sort alike
372372
value = normalizeDecimals(value);
373373
value = sortMinMaxArguments(value);

0 commit comments

Comments
 (0)