You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 satır
268B

  1. 'use strict';
  2. const path = require('path');
  3. const fs = require('fs');
  4. const hasYarn = (cwd = process.cwd()) => fs.existsSync(path.resolve(cwd, 'yarn.lock'));
  5. module.exports = hasYarn;
  6. // TODO: Remove this for the next major release
  7. module.exports.default = hasYarn;