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

Drop cache if it is not used #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified bin/magic
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion lib/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var path = require('path'),
* @param {Function} [f]
* @param {Object} [opts]
* @param {String} [opts.dir] Корень проекта.
* @param {Boolean} [opts.noCache=false] Не учитывать кэш при запуске таска.
* @param {Boolean} [opts.cache=true] Учитывать кэш при запуске таска.
Copy link
Author

Choose a reason for hiding this comment

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

это я просто поправил багу в описании

* @param {Boolean} [opts.noLog=false] Не выводить сообщения в консоль в процессе выполнения таска.
* @param {Boolean} [opts.hideWarnings=false] Не выводить warning-сообщения в консоль в процессе выполнения таска.
* @param {Boolean} [opts.graph=false] Выводить граф сборки.
Expand All @@ -33,6 +33,8 @@ module.exports = function (f, opts) {

if (opts.cache) {
makePlatform.loadCache();
} else {
makePlatform.dropCache();
}

return f(makePlatform)
Expand Down