Skip to content
New issue

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

chore: refactor prepare_output_path #357

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

al3mart
Copy link
Contributor

@al3mart al3mart commented Nov 29, 2024

Refactor of prepare_output_path function to handle both directories and files passed as the output file / directory for the resulting specs.

Resolving conversation in: #351 (comment)

Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for improving this. The only important change is to fix the test, but is an easy fix.

crates/pop-cli/src/commands/build/spec.rs Outdated Show resolved Hide resolved
crates/pop-cli/src/commands/build/spec.rs Outdated Show resolved Hide resolved
crates/pop-cli/src/commands/build/spec.rs Outdated Show resolved Hide resolved
crates/pop-cli/src/commands/build/spec.rs Show resolved Hide resolved
@al3mart al3mart requested a review from AlexD10S November 29, 2024 11:24
Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Fixed now

@al3mart al3mart merged commit c7b443a into daan/feat-use_chain_spec_file Nov 29, 2024
@al3mart al3mart deleted the al3mart/refactor-spec-output branch November 29, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants