Skip to content

Conversation

@yavorsk
Copy link
Contributor

@yavorsk yavorsk commented Mar 17, 2025

Description / Motivation

If configuration file/filepath has been provided with the --config parameter, it is likely that the cli is running outside of the context of the app folder - so we may need to load the .env from the folder where the cli config is located.
This will make it possible to run scaffold command outside of the app folder, with the caveat that .env and the cli.config should be in the same location.

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@yavorsk yavorsk merged commit 0ec01b2 into dev Mar 17, 2025
2 checks passed
@yavorsk yavorsk deleted the feature/JSS-5400-loadconfig branch March 17, 2025 16:21
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