SassDoc / sass-convert

[umaintained] Node.js bindings to sass-convert.
The Unlicense
37 stars 8 forks source link

why run the checkBinaryCache once? #15

Closed loganfreeman closed 8 years ago

loganfreeman commented 8 years ago

It only runs one time, but didn't notice the user that it has been used. No information is bad.

/**
 * Run binary checks only once.
 *
 * @return {Promise}
 */
function checkBinaryCache() {
  if (!('promise' in checkBinaryCache)) {
    checkBinaryCache.promise = checkBinary(BIN);
  }

  return checkBinaryCache.promise;
}
pascalduez commented 8 years ago

Hi,

this is not a forum or social chat. If you lack time or patience for writing detailed, constructive and polite issues, we can't help you.