Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed Dec 16, 2024
1 parent ab83ccc commit 69dfcb7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/fuels/src/cli/commands/typegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { getProgramDetails } from './utils';
interface RunTypegen {
inputs: string[];
output: string;
silent: boolean;
}

function runFuelsTypegen(options: RunTypegen) {
Expand Down Expand Up @@ -45,9 +44,9 @@ function runFuelsTypegen(options: RunTypegen) {

export function typegen(program: Command) {
const options = program.opts();
const { inputs, output, silent } = options;
const { inputs, output } = options;

runFuelsTypegen({ inputs, output, silent });
runFuelsTypegen({ inputs, output });
}

export function generateTypes(config: FuelsConfig) {
Expand All @@ -62,5 +61,5 @@ export function generateTypes(config: FuelsConfig) {
.map((path) => `${path}/out/${config.buildMode}`)
.concat(loaderPaths);

runFuelsTypegen({ inputs: paths, output, silent: false });
runFuelsTypegen({ inputs: paths, output });
}

0 comments on commit 69dfcb7

Please sign in to comment.