Skip to content

fix: strip tmpDir from output dir#108

Merged
chenasraf merged 5 commits intomasterfrom
fix/output-dir
Oct 3, 2024
Merged

fix: strip tmpDir from output dir#108
chenasraf merged 5 commits intomasterfrom
fix/output-dir

Conversation

@chenasraf
Copy link
Copy Markdown
Owner

@chenasraf chenasraf commented Sep 29, 2024

Fixes #107

  • Solution verified (needs testing)

@chenasraf chenasraf force-pushed the fix/output-dir branch 2 times, most recently from 1862356 to da9b1e8 Compare September 29, 2024 00:57
@chenasraf chenasraf merged commit 80c92bf into master Oct 3, 2024
@chenasraf chenasraf deleted the fix/output-dir branch October 3, 2024 11:12
export async function parseConfigFile(config: ScaffoldCmdConfig): Promise<ScaffoldConfig> {
let output: ScaffoldConfig = {
name: config.name,
templates: [],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It appears this change may have broken the templates. Previously, if a user defined a template, it would pass through with the parsed config, but afterward the templates is being reset to an empty array, so its not matching on any files.

This comment was marked as duplicate.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Created a new issue to track this regression

#110

Let's continue communication there so it's easier to track

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.

[BUG] On Windows, tries to write to temp dir instead of output dir and fails

2 participants