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

Check that paths exist before looking for *.less files in them #817

Merged
merged 2 commits into from
May 29, 2023

Conversation

mrm007
Copy link
Contributor

@mrm007 mrm007 commented May 29, 2023

This also moves the logic to check for .less files into a separate module, so it's easier to remove when we drop support.

@mrm007 mrm007 requested a review from a team as a code owner May 29, 2023 05:53
@changeset-bot
Copy link

changeset-bot bot commented May 29, 2023

🦋 Changeset detected

Latest commit: e91cfb3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sku Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +11 to +13
const srcPathsExist = await Promise.all(
paths.src.map(async (srcPath) => (await exists(srcPath)) && srcPath),
);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The old code doesn't have this bit.

@mrm007 mrm007 merged commit 29b6696 into master May 29, 2023
5 checks passed
@mrm007 mrm007 deleted the check-less-files branch May 29, 2023 06:20
@seek-oss-ci seek-oss-ci mentioned this pull request May 29, 2023
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.

None yet

2 participants