Skip to content

Commit

Permalink
fix: tsc receives forward args (#939)
Browse files Browse the repository at this point in the history
forward args are now being passed to `tsCmd` via the `ctx` object in the 'Generate types' task
  • Loading branch information
SgtPooki committed Feb 28, 2022
1 parent d3dc7cd commit feeeb54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/build/index.js
Expand Up @@ -130,9 +130,7 @@ const tasks = new Listr([
*/
task: async (ctx, task) => {
await tsCmd({
debug: ctx.debug,
tsRepo: ctx.tsRepo,
fileConfig: ctx.fileConfig,
...ctx,
preset: 'types',
include: ctx.fileConfig.ts.include,
copyTo: ctx.fileConfig.ts.copyTo,
Expand Down

0 comments on commit feeeb54

Please sign in to comment.