Skip to content

Commit 84b60cd

Browse files
committed
clippy
1 parent 1f18dad commit 84b60cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/berry-compare-bin/src

crates/berry-compare-bin/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ for (const [key, value] of Object.entries(parsed)) {{
221221
const dependenciesMeta = {{}};
222222
if (value.dependenciesMeta) {{
223223
for (const [name, meta] of Object.entries(value.dependenciesMeta)) {{
224-
// Handle string "true"/"false" or boolean values
224+
// Handle string true/false or boolean values
225225
const toBoolOrNull = (v) => {{
226226
if (v === undefined) return null;
227227
if (typeof v === 'string') return v === 'true';
@@ -238,7 +238,7 @@ for (const [key, value] of Object.entries(parsed)) {{
238238
const peerDependenciesMeta = {{}};
239239
if (value.peerDependenciesMeta) {{
240240
for (const [name, meta] of Object.entries(value.peerDependenciesMeta)) {{
241-
// Handle string "true"/"false" or boolean values
241+
// Handle string true/false or boolean values
242242
let optional = meta.optional;
243243
if (typeof optional === 'string') {{
244244
optional = optional === 'true';

0 commit comments

Comments
 (0)