Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix standard-pkg bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Jul 25, 2019
1 parent 066c239 commit e73d9fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-ts-standard-pkg/pkg/dist-node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function afterJob({
reporter
}) {
reporter.info('Linting with standard-pkg...');
const linter = new standardPkg.Lint(out);
const linter = new standardPkg.Lint(path.join(out, 'dist-src'));
await linter.init();
linter.summary();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-ts-standard-pkg/pkg/dist-src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function beforeJob({ cwd }) {
}
export async function afterJob({ out, reporter }) {
reporter.info('Linting with standard-pkg...');
const linter = new Lint(out);
const linter = new Lint(path.join(out, 'dist-src'));
await linter.init();
linter.summary();
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-ts-standard-pkg/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function beforeJob({cwd}: BuilderOptions) {

export async function afterJob({out, reporter}: BuilderOptions) {
reporter.info('Linting with standard-pkg...');
const linter = new Lint(out);
const linter = new Lint(path.join(out, 'dist-src'));
await linter.init();
linter.summary();
}
Expand Down

0 comments on commit e73d9fc

Please sign in to comment.