Skip to content

Commit 70062c4

Browse files
committed
Create empty package.json in e2e test
Create empty package.json in e2e test while installing packaged CLI to prevent installation issues.
1 parent 8951fbe commit 70062c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/e2e-simple.sh

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ mv package.json.orig package.json
152152

153153
# Install the CLI in a temporary location
154154
cd $temp_cli_path
155+
echo "{}" > package.json
155156
npm install $cli_path
156157

157158
# Install the app in a temporary location

0 commit comments

Comments
 (0)