Skip to content

Commit a0197f4

Browse files
committed
chore(deps): fix lint errors
1 parent ed479cd commit a0197f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/generator-cli/src/app/services/pass-through.service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ describe('PassThroughService', () => {
287287
expect(spy).toHaveBeenCalledTimes(helpText ? 1 : 0);
288288
});
289289

290-
// eslint-disable-next-line no-unused-expressions
290+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
291291
helpText &&
292292
it('prints the correct help text', () => {
293293
expect(spy).toHaveBeenCalledWith(helpText());
@@ -301,7 +301,7 @@ describe('PassThroughService', () => {
301301
);
302302
});
303303

304-
// eslint-disable-next-line no-unused-expressions
304+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
305305
spawn &&
306306
it('spawns the correct process', () => {
307307
expect(childProcess.spawn).toHaveBeenNthCalledWith(

apps/generator-cli/src/app/services/pass-through.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class PassThroughService {
124124
private run = (subCmd: string) =>
125125
new Promise<string>((resolve, reject) => {
126126
exec(`${this.cmd()} ${subCmd}`, (error, stdout, stderr) => {
127-
// eslint-disable-next-line no-unused-expressions
127+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
128128
error ? reject(new Error(stderr)) : resolve(stdout);
129129
});
130130
});

0 commit comments

Comments
 (0)