Skip to content

Commit 5a31547

Browse files
committed
Bump version to 2.2.0
1 parent 3ec1728 commit 5a31547

File tree

8 files changed

+1620
-630
lines changed

8 files changed

+1620
-630
lines changed

.prettierrc.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2+
"arrowParens": "avoid",
3+
"bracketSpacing": false,
4+
"endOfLine": "auto",
5+
"parser": "typescript",
26
"printWidth": 80,
3-
"tabWidth": 2,
4-
"useTabs": false,
57
"semi": true,
68
"singleQuote": true,
9+
"tabWidth": 2,
710
"trailingComma": "none",
8-
"bracketSpacing": false,
9-
"arrowParens": "avoid",
10-
"parser": "typescript"
11-
}
11+
"useTabs": false
12+
}

__tests__/utils.test.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ describe('Utils tests', () => {
2929
it('checking asyncForEach', async () => {
3030
const array: Array<string> = ['a', 'b', 'c'];
3131
let concat = '';
32-
await utils.asyncForEach(array, async function(str: string): Promise<void> {
32+
await utils.asyncForEach(array, async function (
33+
str: string
34+
): Promise<void> {
3335
concat += str;
3436
});
3537
expect(concat).toBe('abc');
@@ -68,7 +70,10 @@ describe('Utils tests', () => {
6870
const runner_dir: string = process.env['RUNNER_TOOL_CACHE'] || '';
6971
const script_path: string = path.join(runner_dir, 'test.sh');
7072
await utils.writeScript('test.sh', testString);
71-
await fs.readFile(script_path, function(error: Error | null, data: Buffer) {
73+
await fs.readFile(script_path, function (
74+
error: Error | null,
75+
data: Buffer
76+
) {
7277
expect(testString).toBe(data.toString());
7378
});
7479
await cleanup(script_path);

0 commit comments

Comments
 (0)