Skip to content

Commit 21958ac

Browse files
committed
update ci.yml, src/index.js and normalize-string.js
1 parent adcd396 commit 21958ac

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ jobs:
2323
cache: 'npm'
2424
- name: Install dependencies
2525
run: npm ci
26-
- name: Lint code and fix
27-
run: npm run lint:fix
2826
- name: Lint code
2927
run: npm run lint
30-
- name: Check formatting and fix
31-
run: npm run format:fix
3228
- name: Check formatting
3329
run: npm run format
3430
- name: Run tests

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ function add(a, b) {
88
return a + b;
99
}
1010

11-
12-
1311
module.exports = add;

src/utils/normalize-string.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ function normalizeString(str) {
1212
throw new Error('Input cannot be null or undefined.');
1313
}
1414

15-
16-
17-
let s = String(str) ;
15+
let s = String(str);
1816

1917
s = s.trim();
2018
s = s.toLowerCase();

0 commit comments

Comments
 (0)