Skip to content

Commit

Permalink
shellcheck happy?
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Mar 9, 2025
1 parent adda31a commit 5692e08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_helpers.v2.1.d/ynhtest_nodejs_ruby_go_composer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ynhtest_nodejs_install() {

node --version | grep -q '^v20\.'

pushd $install_dir
pushd "$install_dir"
# Install a random simple package to validate npm is in the path and working
npm install ansi-styles
# FIXME: should test installing as non-root with ynh_exec_as_app to validate PATH propagation ?
Expand All @@ -33,7 +33,7 @@ EOF
ruby --version
ruby --version | grep '^3\.3\.5'

pushd $install_dir
pushd "$install_dir"
# FIXME: should test installing as non-root with ynh_exec_as_app to validate PATH propagation ?
gem install bundler passenger --no-document
bundle config set --local without 'development test'
Expand All @@ -49,7 +49,7 @@ ynhtest_go_install() {
go version
go version | grep 'go1.22 linux'

pushd $install_dir
pushd "$install_dir"
# FIXME: should test building as non-root with ynh_exec_as_app to validate PATH propagation ?
cat << EOF > helloworld.go
package main
Expand All @@ -69,7 +69,7 @@ ynhtest_composer_install() {
php_version=8.2

install_dir="$(mktemp -d -p "$VAR_WWW")"
pushd $install_dir
pushd "$install_dir"
ynh_composer_install
# FIXME: should test installing as non-root with ynh_exec_as_app to validate PATH propagation ?
# Install a random simple package to validate composer is working
Expand Down

0 comments on commit 5692e08

Please sign in to comment.