We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119a634 commit 1d0a7feCopy full SHA for 1d0a7fe
1 file changed
scripts/package-manager/src/use-yarn-please.js
@@ -26,7 +26,7 @@ function checkPackageManager() {
26
27
const yarnInfo = detectYarnInstallation();
28
29
- if (!yarnInfo.exists || !isSupportedYarnVersion(yarnInfo.version)) {
+ if (!yarnInfo.exists) {
30
console.log(Strings.installYarn);
31
process.exit(1);
32
}
@@ -47,10 +47,4 @@ function detectYarnInstallation() {
47
return { exists: yarnResult.status === 0, version: yarnResult.stdout };
48
49
50
-/** @param {string} version */
51
-function isSupportedYarnVersion(version) {
52
- return Number.parseInt(version, 10) === 4;
53
-}
54
-
55
exports.checkPackageManager = checkPackageManager;
56
-exports.isSupportedYarnVersion = isSupportedYarnVersion;
0 commit comments