Skip to content

Conversation

@homestar9
Copy link
Contributor

On windows, variables.cwd has the full path and doesn't need a leading "/". Prepending the "/" will cause the command() to not work and will silently fail to replace the tokens.

Todo: I think the SetupTemplate.cfc should be ignored from the token replace command. However, I'm not sure if this is possible

Type of change

  • [ X] Bug Fix

On windows, `variables.cwd` has the full path and doesn't need a leading "/".  Prepending the "/" will cause the `command()` to not work and will silently fail to replace the tokens.

Todo: I think the `SetupTemplate.cfc` should be ignored from the token replace command. However, I'm not sure if this is possible.
Copilot AI review requested due to automatic review settings January 16, 2026 19:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a Windows-specific bug in the SetupTemplate.cfc build task where path formatting for the tokenReplace command was incorrect. On Windows, variables.cwd already contains the full absolute path, so prepending a "/" creates an invalid path that causes the token replacement to silently fail.

Changes:

  • Removed leading "/" from path parameter in three tokenReplace command calls

@lmajano
Copy link
Contributor

lmajano commented Jan 17, 2026

Did you test this in mac/linux?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants