#!/usr/bin/env sh
# This file was created by pub v3.9.0.
# Package: melos
# Version: 7.3.0
# Executable: melos
# Script: melos
if [ -f /home/vagrant/build/com.ferrarid.converterpro/.pub-cache/global_packages/melos/bin/melos.dart-3.9.0.snapshot ]; then
  dart "/home/vagrant/build/com.ferrarid.converterpro/.pub-cache/global_packages/melos/bin/melos.dart-3.9.0.snapshot" "$@"
  # The VM exits with code 253 if the snapshot version is out-of-date.
  # If it is, we need to delete it and run "pub global" manually.
  exit_code=$?
  if [ $exit_code != 253 ]; then
    exit $exit_code
  fi
  dart pub -v global run melos:melos "$@"
else
  dart pub global run melos:melos "$@"
fi
