Changed shebang same as code.sh (#109372)

* Changed shebang same as code.sh

* Added set -e in test.sh
This commit is contained in:
Rakib Fiha 2020-10-30 15:54:13 +09:00 committed by GitHub
parent 2d8bbc6976
commit 7670c0c79c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo "Pass in a version like ./scripts/generate-vscode-dts.sh 1.30."

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
yarn $*
yarn $*

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then

View file

@ -1,5 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }