Skip to content

Commit c9344a5

Browse files
committed
Cleanup unused environment variables and typos
1 parent 71caf51 commit c9344a5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/resetAndScan.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ JQASSISTANT_CLI_VERSION=${JQASSISTANT_CLI_VERSION:-"2.3.1"} # 2.0.3 is the newes
1414
JQASSISTANT_CLI_ARTIFACT=${JQASSISTANT_CLI_ARTIFACT:-"jqassistant-commandline-neo4jv5"} # Neo4j v5: "jqassistant-commandline-neo4jv5", Neo4j v4: "jqassistant-commandline-neo4jv4"
1515
JQASSISTANT_CONFIG_TEMPLATE=${JQASSISTANT_CONFIG_TEMPLATE:-"template-neo4jv5-jqassistant.yaml"} # Neo4j v5: "template-neo4jv5-jqassistant.yaml", Neo4j v4: "template-neo4jv4-jqassistant.yaml"
1616

17-
NEO4J_EDITION=${NEO4J_EDITION:-"community"} # Choose "community" or "enterprise"
18-
NEO4J_VERSION=${NEO4J_VERSION:-"5.20.0"}
19-
NEO4J_BOLT_PORT=${NEO4J_BOLT_PORT:-"7687"} # Neo4j's own "Bolt Protocol" port
20-
NEO4J_BOLT_URI=${NEO4J_BOLT_URI:-"bolt://localhost:${NEO4J_BOLT_PORT}"} # Neo4j's own "Bolt Protocol" address
21-
NEO4J_USER=${NEO4J_USER:-"neo4j"} # Neo4j login user
2217
NEO4J_INITIAL_PASSWORD=${NEO4J_INITIAL_PASSWORD:-""} # Neo4j login password that was set to replace the temporary initial password
2318
ARTIFACTS_DIRECTORY=${ARTIFACTS_DIRECTORY:-"artifacts"} # Directory with the Java artifacts to scan and analyze
2419
TOOLS_DIRECTORY=${TOOLS_DIRECTORY:-"tools"} # Get the tools directory (defaults to "tools")
@@ -49,7 +44,7 @@ fi
4944

5045
# Check if jQAssistant is installed
5146
if [ ! -d "${JQASSISTANT_BIN}" ] ; then
52-
echo "resetAndScan: Error: ${JQASSISTANT_BIN} doesnt exist. Please run setupJQAssistant first."
47+
echo "resetAndScan: Error: ${JQASSISTANT_BIN} doesn't exist. Please run setupJQAssistant first."
5348
exit 1
5449
else
5550
echo "resetAndScan: Using jQAssistant binary directory ${JQASSISTANT_BIN}"
@@ -58,7 +53,6 @@ fi
5853
# Create jQAssistant configuration YAML file by copying it from a corresponding template
5954
mkdir -p "./.jqassistant"
6055

61-
echo "resetAndScan: Check if ./.jqassistant/${JQASSISTANT_CONFIG_TEMPLATE} needs to be copied."
6256
if [ ! -f "./.jqassistant/${JQASSISTANT_CONFIG_TEMPLATE}" ]; then
6357
cp "${JQASSISTANT_CONFIG_TEMPLATE_PATH}" "./.jqassistant/"
6458
echo "resetAndScan: jQAssistant configuration copied from configuration template"

0 commit comments

Comments
 (0)