Check that Rust project exists (#4393)
This commit is contained in:
		@@ -4,7 +4,7 @@ if [ "$#" -ne 1 ]; then
 | 
			
		||||
    echo "Error: Must provide the full path to the project to build"
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
if [ ! -d "$1" ]; then
 | 
			
		||||
if [ ! -f "$1/Cargo.toml" ]; then
 | 
			
		||||
      echo "Error: Cannot find project: $1"
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ if [ "$#" -ne 1 ]; then
 | 
			
		||||
    echo "Error: Must provide the full path to the project to build"
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
if [ ! -d "$1" ]; then
 | 
			
		||||
if [ ! -f "$1/Cargo.toml" ]; then
 | 
			
		||||
      echo "Error: Cannot find project: $1"
 | 
			
		||||
    exit 1
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user