-
Notifications
You must be signed in to change notification settings - Fork 593
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
Remove ACM properties #2318
Remove ACM properties #2318
Conversation
js/src/Ice/PropertyNames.js
Outdated
@@ -46,7 +29,7 @@ PropertyNames.IceProps = [ | |||
new Property("Ice.Admin.Locator.Locator", false, "", false), | |||
new Property("Ice.Admin.Locator.Router", false, "", false), | |||
new Property("Ice.Admin.Locator.CollocationOptimized", false, "", false), | |||
new Property("^Ice.Admin.Locator.Context..", true, "", false), | |||
new Property("^Ice\.Admin\.Locator\.Context\..", true, "", false), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me why this regeneration added these escapes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The escapes look correct, if I recall correctly Joe committed a fix for the handling of regexp in JavaScript.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what it's worth, the escapes are always added by the script,
but Prettier removed them when JS got reformatted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, if we want to escape the dot, shouldn't it be \\.
, otherwise \.
is just .
I guess the best is to create a separate issue, it seems unrelated to the PR.
js/src/Ice/PropertyNames.js
Outdated
export const PropertyNames = {}; | ||
PropertyNames.IceProps = [ | ||
PropertyNames.IceProps = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can run npx prettier --write src/Ice/PropertyNames.js
in js to reformat this file. I didn't have time to add the style checker to CI yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, see comments.
This PR removes all the ACM properties.