We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fuels init
Improve fuels init directory detection, such that, when using the glob pattern for this single program directory:
npx fuels init --predicates ./predicate/* --output ./src/predicate_api
For the following directory structure:
└── predicate └── Forc.toml
We obtain the following fuels.config.ts
fuels.config.ts
import { createConfig } from 'fuels'; export default createConfig({ predicates: [ 'predicate/Forc.lock', 'predicate/Forc.toml', 'predicate/out', 'predicate/src', ], output: './src/predicate_api', });
We'd expect the following fuels.config.ts
import { createConfig } from 'fuels'; export default createConfig({ predicates: [ 'predicate' ], output: './src/predicate_api', });
The text was updated successfully, but these errors were encountered:
petertonysmith94
Successfully merging a pull request may close this issue.
Summary
Improve
fuels init
directory detection, such that, when using the glob pattern for this single program directory:npx fuels init --predicates ./predicate/* --output ./src/predicate_api
For the following directory structure:
Actual
We obtain the following
fuels.config.ts
Expected
We'd expect the following
fuels.config.ts
The text was updated successfully, but these errors were encountered: