We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfca360 commit 1f221dcCopy full SHA for 1f221dc
scripts/next-with-deps.sh
@@ -6,17 +6,17 @@ for PROJECT_DIR in $@;do :;done
6
7
if [ -z $PROJECT_DIR ];then
8
echo "No project directory provided, exiting..."
9
- exit 0;
+ exit 1;
10
fi;
11
12
if [ ! -d $PROJECT_DIR ];then
13
echo "Invalid project directory provided, exiting..."
14
15
16
17
if [ $PROJECT_DIR == $PWD ] || [ "$PROJECT_DIR" == "." ];then
18
echo "Project directory can not be root, exiting..."
19
20
21
22
CONFLICTING_DEPS=("react" "react-dom" "styled-jsx" "next")
@@ -36,4 +36,4 @@ if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
36
fi
37
38
cd $START_DIR
39
-yarn next $@
+yarn next $@
0 commit comments