Skip to content

Commit ae05d1c

Browse files
fix lint
1 parent 7c875fd commit ae05d1c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

n8n-js/run.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ set -o errexit
44
set -o xtrace
55

66
mkdir npm_global_dir
7-
export NPM_CONFIG_PREFIX=$(pwd)/npm_global_dir
7+
WORKING_DIR=$(pwd)
8+
export NPM_CONFIG_PREFIX=$WORKING_DIR/npm_global_dir
89
export PATH="$NPM_CONFIG_PREFIX/bin:$PATH"
910

1011
npm i -g pnpm
@@ -19,10 +20,10 @@ pnpm build
1920

2021
# first, run the crud node tests
2122
cd packages/nodes-base/nodes/MongoDb
22-
pnpm test $(pwd)
23+
pnpm test "$(pwd)"
2324
cd -
2425

2526
# then, run the vector store tests
2627
cd packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMongoDBAtlas/
27-
pnpm test $(pwd)
28+
pnpm test "$(pwd)"
2829
cd -

0 commit comments

Comments
 (0)