diff --git a/test/new_project.sh b/test/new_project.sh index 0072d839..b941e914 100755 --- a/test/new_project.sh +++ b/test/new_project.sh @@ -1,15 +1,13 @@ #!/bin/sh set -ex -cd test/ - # remove temporary blank project rm -rf tmp-project # test generating new project in cwd mkdir tmp-project cd tmp-project -../../bin/near new_project +../bin/near new_project #yarn #yarn remove near-shell #yarn add ../../ @@ -18,7 +16,7 @@ cd .. rm -rf tmp-project # test generating new project in new dir -../bin/near new_project 'tmp-project' +./bin/near new_project 'tmp-project' cd tmp-project FILE=package.json if test -f "$FILE"; then