mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
Fix inconsistent spacing in bin/setup
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
cbce0caa84
commit
ac7dd2982f
1 changed files with 3 additions and 5 deletions
|
@ -10,8 +10,7 @@ if [ -d .git ]; then
|
||||||
cd "$(git rev-parse --show-toplevel)"
|
cd "$(git rev-parse --show-toplevel)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! type yarn > /dev/null
|
if ! type yarn > /dev/null; then
|
||||||
then
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
FATAL: Yarn could not be found.
|
FATAL: Yarn could not be found.
|
||||||
|
|
||||||
|
@ -23,7 +22,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if version_lt "$(yarn --version)" '1.22.0'; then
|
if version_lt "$(yarn --version)" '1.22.0'; then
|
||||||
cat <<EOF
|
cat << EOF
|
||||||
FATAL: Your Yarn version is outdated.
|
FATAL: Your Yarn version is outdated.
|
||||||
|
|
||||||
Please upgrade to version 1.22.0 or higher and try again.
|
Please upgrade to version 1.22.0 or higher and try again.
|
||||||
|
@ -33,7 +32,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if version_lt "$(node --version)" 'v10.13.0'; then
|
if version_lt "$(node --version)" 'v10.13.0'; then
|
||||||
cat <<EOF
|
cat << EOF
|
||||||
FATAL: Your Node.js version is outdated.
|
FATAL: Your Node.js version is outdated.
|
||||||
|
|
||||||
Please upgrade to version 10.13 or higher and try again.
|
Please upgrade to version 10.13 or higher and try again.
|
||||||
|
@ -63,7 +62,6 @@ Read more info at https://github.com/hedgedoc/hedgedoc#configuration-files
|
||||||
|
|
||||||
* config.json -- HedgeDoc config
|
* config.json -- HedgeDoc config
|
||||||
* .sequelizerc -- db config
|
* .sequelizerc -- db config
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# change directory back
|
# change directory back
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue