File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ processWorkspace() {
7676 if [ -n " $trimmed_version " ]; then
7777 # Install each version of the library separately
7878 echo -e " - Install $library @$trimmed_version for $workspace \n"
79- pnpm add " $library @$trimmed_version " --save-peer --workspace " $workspace "
79+ (cd " $location " ; pnpm add " $library @$trimmed_version " --save-peer)
8080
8181 runTestSuite
8282 fi
8383 done
84-
85- echo " -> Reverting version changes for $library "
86- pnpm add " $library @$versionValue " --save-peer --workspace " $workspace "
8784 done
85+
86+ echo " -> Reverting version changes from $package_json_path "
87+ git checkout -- " $package_json_path "
8888 else
8989 echo -e " -> No peerDependencies found with multiple versions defined\n"
9090 runTestSuite
You can’t perform that action at this time.
0 commit comments