Skip to content

Commit 4eacaa6

Browse files
committed
chore: lint
1 parent 8b745d5 commit 4eacaa6

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

genlist.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ lines.sort((a, b) => {
99

1010
for (const version of lines)
1111
console.log(`"${version}": "${process.argv[2]}",`);
12-

sources/commands/Disable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import fs from 'f
33
import path from 'path';
44
import which from 'which';
55

6-
import type { NodeError } from '../nodeUtils';
76
import {Context} from '../main';
7+
import type {NodeError} from '../nodeUtils';
88
import {isSupportedPackageManager, SupportedPackageManagerSetWithoutNpm} from '../types';
99

1010
export class DisableCommand extends Command<Context> {

sources/fsUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { rm } from "fs/promises";
1+
import {rm} from 'fs/promises';
22

33
export async function rimraf(path: string) {
4-
return rm(path, { recursive: true, force: true });
4+
return rm(path, {recursive: true, force: true});
55
}

tests/recordRequests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ switch (process.env.NOCK_ENV || ``) {
3939
req.rawHeaders = filterHeaders(req.rawHeaders);
4040

4141
const serialized = v8.serialize(nockCallObjects);
42-
fs.mkdirSync(path.dirname(getNockFile()), { recursive: true });
42+
fs.mkdirSync(path.dirname(getNockFile()), {recursive: true});
4343
fs.writeFileSync(getNockFile(), serialized);
4444
});
4545
break;

0 commit comments

Comments
 (0)