Skip to content

bug: don't fail if profile directory doesn't exist#572

Merged
bytemain merged 1 commit intoversion-fox:mainfrom
JayBazuzi:main
Dec 8, 2025
Merged

bug: don't fail if profile directory doesn't exist#572
bytemain merged 1 commit intoversion-fox:mainfrom
JayBazuzi:main

Conversation

@JayBazuzi
Copy link
Copy Markdown
Contributor

On a brand new clean machine, the $PROFILE directory (C:\Users\<username>\Documents\PowerShell) doesn't exist, causing >> $PROFILE to fail.

Restore New-Item -Force (which was removed in the previous commit) to ensure the directory is created before >>.

On a brand new clean machine, the $PROFILE directory (`C:\Users\<username>\Documents\PowerShell`) doesn't exist, causing `>> $PROFILE` to fail.

Restore `New-Item -Force` (which was removed in the previous commit) to ensure the directory is created before `>>`.
@JayBazuzi
Copy link
Copy Markdown
Contributor Author

See #521 (comment)

@bytemain bytemain merged commit 28447e7 into version-fox:main Dec 8, 2025
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.

2 participants