diff --git a/code-formatter/Dockerfile b/code-formatter/Dockerfile index 51a4bcc..011bf63 100644 --- a/code-formatter/Dockerfile +++ b/code-formatter/Dockerfile @@ -1,4 +1,4 @@ -FROM node:8-stretch +FROM node:10-slim # https support RUN apt-get update && \ diff --git a/code-formatter/Dockerfile.56 b/code-formatter/Dockerfile.56 index 5886cf7..1c7a1bb 100644 --- a/code-formatter/Dockerfile.56 +++ b/code-formatter/Dockerfile.56 @@ -1,4 +1,4 @@ -FROM node:8-slim +FROM node:10-slim # https support RUN apt-get update && \ diff --git a/code-formatter/src/inc/variables.shinc b/code-formatter/src/inc/variables.shinc index 5529719..1aa6b6c 100644 --- a/code-formatter/src/inc/variables.shinc +++ b/code-formatter/src/inc/variables.shinc @@ -32,7 +32,7 @@ __initVariables() { CSS_FILES+=("${1}") fi ;; - *.js|*.jsx|*.ts) + *.js|*.jsx|*.ts|*.json) __path_exists "${1}" if [[ $? -ne 0 ]]; then __err "Specified path does not exist: ${1}"