Skip to content

Commit 6e0d613

Browse files
committed
chore: add code comment
1 parent 86aaee9 commit 6e0d613

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
name: Node.js ${{ matrix.node-version }} Test on ${{ matrix.operating-system }}
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v3
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm install
2828
- run: npm run test-cov
29-
- uses: codecov/codecov-action@v2
29+
- uses: codecov/codecov-action@v3
3030
with:
3131
name: codecov-node-cli # optional
3232
fail_ci_if_error: true # optional (default = false)

src/lib/camelcase.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
'use strict';
22

33
/**
4-
* @author https://github.com/sindresorhus/camelcase
5-
* @description reference source code for compatibility
4+
* ******************************************************
5+
* @author https://github.com/sindresorhus/camelcase *
6+
* @description reference source code for compatibility *
7+
* ******************************************************
68
*/
79

810
const UPPERCASE = /[\p{Lu}]/u;

src/lib/exec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
'use strict';
22

3+
/**
4+
* ******************************************************
5+
* @author https://github.com/sindresorhus/os-locale *
6+
* @description reference source code for compatibility *
7+
* ******************************************************
8+
*/
9+
310
// Mini wrapper around `child_process` to make it behave a little like `execa`.
411

512
const promisify = require('util').promisify;

src/lib/os-locale.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
'use strict';
22

3+
/**
4+
* ******************************************************
5+
* @author https://github.com/sindresorhus/os-locale *
6+
* @description reference source code for compatibility *
7+
* ******************************************************
8+
*/
9+
310
const lcid = require('lcid');
411
const { exec, execSync } = require('./exec.js');
512

0 commit comments

Comments
 (0)