diff --git a/plugins/package-managers/node/src/main/kotlin/yarn/Yarn.kt b/plugins/package-managers/node/src/main/kotlin/yarn/Yarn.kt index 654b45d229a7a..ec0bcd45d4fbd 100644 --- a/plugins/package-managers/node/src/main/kotlin/yarn/Yarn.kt +++ b/plugins/package-managers/node/src/main/kotlin/yarn/Yarn.kt @@ -111,7 +111,7 @@ open class Yarn( private val graphBuilder by lazy { DependencyGraphBuilder(YarnDependencyHandler(this)) } - protected open fun hasLockfile(projectDir: File) = NodePackageManager.YARN.hasLockfile(projectDir) + protected fun hasLockfile(projectDir: File) = NodePackageManager.YARN.hasLockfile(projectDir) /** * Load the submodule directories of the project defined in [moduleDir]. @@ -348,7 +348,7 @@ open class Yarn( run(workingDir, "install", "--ignore-scripts", "--ignore-engines", "--immutable") } - internal open fun getRemotePackageDetails(workingDir: File, packageName: String): PackageJson? { + internal fun getRemotePackageDetails(workingDir: File, packageName: String): PackageJson? { yarnInfoCache.read(packageName)?.let { return parsePackageJson(it) } val process = run(workingDir, "info", "--json", packageName)