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() {
76
76
if [ -n " $trimmed_version " ]; then
77
77
# Install each version of the library separately
78
78
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)
80
80
81
81
runTestSuite
82
82
fi
83
83
done
84
-
85
- echo " -> Reverting version changes for $library "
86
- pnpm add " $library @$versionValue " --save-peer --workspace " $workspace "
87
84
done
85
+
86
+ echo " -> Reverting version changes from $package_json_path "
87
+ git checkout -- " $package_json_path "
88
88
else
89
89
echo -e " -> No peerDependencies found with multiple versions defined\n"
90
90
runTestSuite
You can’t perform that action at this time.
0 commit comments