-
Notifications
You must be signed in to change notification settings - Fork 364
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
chore: assets and utilities clean up #9041
chore: assets and utilities clean up #9041
Conversation
Passing run #3155 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@@ -1,5 +1,3 @@ | |||
const escapeStringForCLI = (value: string) => { | |||
export const escapeStringForCLI = (value: string) => { | |||
return value.replace(/(["'$`\\])/g, '\\$1'); | |||
}; |
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.
Just a potential for some more cleanup, possibly in a separate PR: This util essentially does the same as https://github.com/linode/manager/blob/develop/packages/manager/src/utilities/generate-cli.ts#L2-L10. However the one in generate-cli
is more comprehensive in what it handles. Do we want to move forward with just one solution?
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.
Made myself a note to revisit this
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.
Really good cleanup 🧼
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.
Those were some colorful distro .png
s!
Verified that the deleted files are not used and didn't see any unexpected errors when clicking through Cloud to test on Friday; just tested Linode region functionality and that still looks good too.
sortCreatedDESC, | ||
filter(propSatisfies(startsWith('private'), 'id')) | ||
); | ||
import { always, cond, groupBy, propOr } from 'ramda'; |
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.
Less ramda is a 🏆 .
Description 📝
packages/manager/src/assets/
andpackages/manager/src/utilities/
Preview 📷
How to test 🧪