fix TEMP_PROJECT_DIR var in cli-migrations/v3

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10612
GitOrigin-RevId: dd35138226ef3c0b0b014170588d1a1f023bb4db
This commit is contained in:
Ananya Mohanty 2024-01-12 11:33:26 +05:30 committed by hasura-bot
parent 56d52f5e07
commit 72f578c777

View File

@ -69,7 +69,7 @@ fi
# apply metadata if the directory exist
if [ -d "$HASURA_GRAPHQL_METADATA_DIR" ]; then
rm -rf "TEMP_PROJECT_DIR"
rm -rf "$TEMP_PROJECT_DIR"
log "migrations-apply" "applying metadata from $HASURA_GRAPHQL_METADATA_DIR"
mkdir -p "$TEMP_PROJECT_DIR"
cp -a "$HASURA_GRAPHQL_METADATA_DIR/." "$TEMP_PROJECT_DIR/metadata/"