Skip to content

Commit 1b44ae0

Browse files
authored
Merge pull request #313 from kabalin/nvm-fix
Fix nvm loading issue.
2 parents a498ec7 + 5be5de6 commit 1b44ae0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
99
The format of this change log follows the advice given at [Keep a CHANGELOG](https://keepachangelog.com).
1010

1111
## [Unreleased]
12+
### Changed
13+
- Fixed nvm loading issue caused by upstream regression.
14+
1215
## [4.5.3] - 2024-07-05
1316
### Added
1417
- Support for version 4.4 of the app, that uses new defaults and Chrome (Selenium 4) version.

src/Installer/VendorInstaller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function installNode(): void
120120
}
121121

122122
$nvmDir = getenv('NVM_DIR');
123-
$cmd = ". $nvmDir/nvm.sh && nvm install && nvm use && echo \"NVM_BIN=\$NVM_BIN\"";
123+
$cmd = ". $nvmDir/nvm.sh; nvm install && nvm use && echo \"NVM_BIN=\$NVM_BIN\"";
124124

125125
$process = $this->execute->passThroughProcess(
126126
Process::fromShellCommandline($cmd, $this->moodle->directory, null, null, null)

0 commit comments

Comments
 (0)