Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👌 IMPROVE: Improve filename handling for files with periods in the name #24

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

michaelborn
Copy link
Collaborator

Lucee's getComponentMetaData() still errors on component names with periods. Hence, this "just won't work"... but we can at least handle the filename better so it's less confusing where the breakdown occurs.

Lucee's getComponentMetaData() still errors on component names with periods. Hence, this "just won't work"... but we can at least handle the filename better so it's less confusing where the breakdown occurs.
@@ -197,7 +197,9 @@ component accessors="true" {
packagePath = listAppend( thisInput.mapping, currentPath, "." );
}
// setup cfc name
var cfcName = listFirst( getFileFromPath( thisFile ), "." );
var fileName = listLast( getFileFromPath( thisFile ), "/\" );
Copy link

Choose a reason for hiding this comment

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

this is not neded

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

Successfully merging this pull request may close these issues.

2 participants