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

Исправление для ym-clean таска в gulpfile.default #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

effrenus
Copy link

No description provided.

@Ajaxy
Copy link

Ajaxy commented Mar 30, 2016

Мы же договорились версию апать.
Вопрос еще — что, если promise del будет отклонён (сфейлится)?

@effrenus
Copy link
Author

Хм, показалось, что версию апнем после всех правок.
Т.к ymb.del возвращает промис, то можно вернуть его из таска, не вызывая cb.
https://github.com/gulpjs/gulp/blob/master/docs/API.md#fn

@@ -1,6 +1,6 @@
{
"name": "ymb",
"version": "1.0.0-rc",
"version": "1.0.1-rc",
Copy link

Choose a reason for hiding this comment

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

Не не, там будет сейчас 1.0.0-rc.3.

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.

2 participants