mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
fix(frontend): build script error
The extra `api` at the end did lead mv to try to copy the api directory in directory named api. This is not intended behaviour and fails if there is no api directory already. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
e117631f7d
commit
7236a08cfe
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if [ ! -z "${NEXT_PUBLIC_USE_MOCK_API}" ]; then
|
|||
else
|
||||
echo "🦔 > Moving Mock API because NEXT_PUBLIC_USE_MOCK_API is unset"
|
||||
mkdir -p ../tmp/src/pages
|
||||
mv src/pages/api ../tmp/src/pages/api
|
||||
mv src/pages/api ../tmp/src/pages/
|
||||
fi
|
||||
|
||||
echo "🦔 > Building"
|
||||
|
|
Loading…
Reference in a new issue