Skip to content

Ensure dot sourced script paths use correct case#615

Merged
bill-long merged 1 commit into
mainfrom
bilong-casesensitivebuildcheck
Jun 30, 2021
Merged

Ensure dot sourced script paths use correct case#615
bill-long merged 1 commit into
mainfrom
bilong-casesensitivebuildcheck

Conversation

@bill-long
Copy link
Copy Markdown
Member

Issue:
If a dot loaded script path has incorrect casing, we can't find the commit time of the file at build time. This causes build to fail with a somewhat vague error, which doesn't even tell you which embedded file failed, or why:

image

Reason:
Makes it hard to troubleshoot this build issue.

Fix:
Explicitly check the path case and throw a descriptive error. If the git log command fails for some other reason, still throw an error that at least calls out the file that failed. Output for the path case issue now looks like this:

image

@bill-long bill-long merged commit 774f44e into main Jun 30, 2021
@bill-long bill-long deleted the bilong-casesensitivebuildcheck branch June 30, 2021 20:58
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