Skip to content

Commit

Permalink
remove async; fix test (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
elado authored and jaredpalmer committed Sep 23, 2019
1 parent 727f71c commit afb0281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ prog
.option('--write-file', 'Write the config file locally')
.example('lint --write-file')
.action(
async (opts: {
(opts: {
fix: boolean;
'ignore-pattern': string;
'write-file': boolean;
Expand Down
2 changes: 1 addition & 1 deletion test/tests/lint/tsdx-lint.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('tsdx lint', () => {
it('should not lint', () => {
const output = shell.exec(`node dist/index.js lint`);
expect(output.code).toBe(1);
expect(output.toString()).toContain('No input files specified.');
expect(output.toString()).toContain('No input files specified, defaulting to src test');
});

describe('when --write-file is used', () => {
Expand Down

0 comments on commit afb0281

Please sign in to comment.