adding better finder

This commit is contained in:
Lucas Gravley 2020-08-04 14:19:29 -05:00
parent dee51753b0
commit c78f7f0ed8
2 changed files with 2 additions and 2 deletions

View file

@ -8,6 +8,6 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
ADD server.js server.js
COPY server.js server.js
EXPOSE 3000
CMD ["node", "server.js"]

View file

@ -363,7 +363,7 @@ function TestCodebase() {
#######################################
# Check if docker and get folder name #
#######################################
if [[ ${FILE_TYPE} == "DOCKER" ]]; then
if [[ ${FILE_TYPE} == *"DOCKER"* ]]; then
if [[ ${FILE} == *"good"* ]]; then
#############
# Good file #