Skip to content

Commit

Permalink
refactor(yarn)!: Make loadWorkspaceSubmodules() private
Browse files Browse the repository at this point in the history
As of the recent refactoring of `Pnpm`, the is no more override of this
function in ORT. So, make the function private.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau authored and sschuberth committed Nov 6, 2024
1 parent 743fd64 commit 9d63529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/node/src/main/kotlin/Yarn.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ open class Yarn(
/**
* Load the submodule directories of the project defined in [moduleDir].
*/
protected open fun loadWorkspaceSubmodules(moduleDir: File): Set<File> {
private fun loadWorkspaceSubmodules(moduleDir: File): Set<File> {
val nodeModulesDir = moduleDir.resolve("node_modules")
if (!nodeModulesDir.isDirectory) return emptySet()

Expand Down

0 comments on commit 9d63529

Please sign in to comment.