Skip to content

Commit

Permalink
used signle quotes for string
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadharis4 committed Oct 15, 2023
1 parent 2702cfe commit cd4923c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/toCamelCase.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function toCamelCase(inputString) {

Check warning on line 1 in src/lib/toCamelCase.js

View check run for this annotation

Codecov / codecov/patch

src/lib/toCamelCase.js#L1

Added line #L1 was not covered by tests
// If the input string is empty, return an empty string
if (typeof inputString !== "string" || inputString.length === 0) {
if (typeof inputString !== 'string' || inputString.length === 0) {
return null;

Check warning on line 4 in src/lib/toCamelCase.js

View check run for this annotation

Codecov / codecov/patch

src/lib/toCamelCase.js#L4

Added line #L4 was not covered by tests
}

Expand All @@ -13,5 +13,5 @@ export default function toCamelCase(inputString) {
}

// Join the words back together to form the camelCase string
return words.join("");
return words.join('');

Check warning on line 16 in src/lib/toCamelCase.js

View check run for this annotation

Codecov / codecov/patch

src/lib/toCamelCase.js#L16

Added line #L16 was not covered by tests
}

0 comments on commit cd4923c

Please sign in to comment.