Files
learnGitBranching-mirror/scripts/check-package-manager.js
Peter Cottle 30b52b7e1b add the stuff
2025-10-04 05:43:03 -04:00

5 lines
172 B
JavaScript

if (process.env.npm_execpath.indexOf('yarn') === -1) {
console.error('This project uses yarn, not npm!!! Please use yarn to install dependencies.');
process.exit(1);
}