dependabot-composer 0.171.0 → 0.171.4

Sign up to get free protection for your applications and to get access to all the features.
data/helpers/v2/build CHANGED
@@ -2,12 +2,14 @@
2
2
 
3
3
  set -e
4
4
 
5
- install_dir=$1
6
- if [ -z "$install_dir" ]; then
7
- echo "usage: $0 INSTALL_DIR"
5
+ if [ -z $DEPENDABOT_NATIVE_HELPERS_PATH ]; then
6
+ echo "Unable to build, DEPENDABOT_NATIVE_HELPERS_PATH is not set"
8
7
  exit 1
9
8
  fi
10
9
 
10
+ install_dir="$DEPENDABOT_NATIVE_HELPERS_PATH/composer/v2"
11
+ mkdir -p $install_dir
12
+
11
13
  helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
12
14
  cp -r \
13
15
  "$helpers_dir/bin" \
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "require-dev": {
8
8
  "friendsofphp/php-cs-fixer": "^3.0",
9
- "phpstan/phpstan": "~1.3.1"
9
+ "phpstan/phpstan": "~1.4.2"
10
10
  },
11
11
  "autoload": {
12
12
  "psr-4": {