From e5f9ac4b90ee28421affe6974a5e6e27d7e95219 Mon Sep 17 00:00:00 2001 From: Eran Turgeman Date: Thu, 7 Nov 2024 16:56:17 +0200 Subject: [PATCH] minor fix --- build/utils/yarn.go | 1 - 1 file changed, 1 deletion(-) diff --git a/build/utils/yarn.go b/build/utils/yarn.go index 5ee5a0ba..bf9c865e 100644 --- a/build/utils/yarn.go +++ b/build/utils/yarn.go @@ -124,7 +124,6 @@ func GetYarnDependencies(executablePath, srcPath string, packageInfo *PackageInf if isV2AndAbove { dependenciesMap, root, err = buildYarnV2DependencyMap(packageInfo, responseStr) } else { - responseStr = "{\"type\":\"tree\",\"data\":{\"type\":\"list\",\"trees\":[{\"name\":\"minimist@1.2.5\",\"children\":[],\"hint\":null,\"color\":\"bold\",\"depth\":0},{\"name\":\"yarn-inner@1.0.0\",\"children\":[{\"name\":\"tough-cookie@2.5.0\",\"color\":\"dim\",\"shadow\":true}],\"hint\":null,\"color\":\"bold\",\"depth\":0}]}}" dependenciesMap, root, err = buildYarnV1DependencyMap(packageInfo, responseStr, allowPartialResults, log) } return