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

Make sass command compatible with macos #44452

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

marcoambrosini
Copy link
Member

Use printf instead of echo -n

Screenshot 2024-03-25 at 12 59 55

@marcoambrosini marcoambrosini self-assigned this Mar 25, 2024
@susnux susnux requested review from a team, szaimen and emoral435 and removed request for a team March 25, 2024 12:18
@nickvergessen nickvergessen removed their request for review March 25, 2024 12:41
@ChristophWurst
Copy link
Member

Suggested commit title: chore: Make sass command compatible with macos

https://www.conventionalcommits.org/en/v1.0.0/#summary

"lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern",
"lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
"lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern",
"lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure the -n if even necessary:

Suggested change
"lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
"lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo $appdir; fi; done) core --no-error-on-unmatched-pattern --fix",

@marcoambrosini marcoambrosini force-pushed the make-sass-command-compatible-with-macos branch from 80a56e3 to 34fb38b Compare March 25, 2024 13:37
Copy link
Contributor

@emoral435 emoral435 left a comment

Choose a reason for hiding this comment

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

Either removing the -n or using printf works :) nice change!

@marcoambrosini
Copy link
Member Author

/compile amend/

@nextcloud-command nextcloud-command force-pushed the make-sass-command-compatible-with-macos branch from 1d92060 to e8da4a3 Compare March 26, 2024 12:50
@skjnldsv skjnldsv removed their request for review March 26, 2024 15:22
@marcoambrosini marcoambrosini merged commit 048e116 into master Apr 10, 2024
105 checks passed
@delete-merged-branch delete-merged-branch bot deleted the make-sass-command-compatible-with-macos branch April 10, 2024 08:29
@blizzz blizzz mentioned this pull request Jul 24, 2024
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.

4 participants