Skip to content

Commit 75d3225

Browse files
committed
🐛 Fixes re-adding Jekyll default config file
1 parent 6a00f61 commit 75d3225

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jekyll-build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ fi
9292
## Build cama seperated list of _config*.yml files
9393
while read _p; do
9494
_f="${_p##*/}"
95-
if [[ "${_f}" != '_config.yml' ]] || [[ "${_f}" != '_config.yaml' ]]; then
96-
_config_files+=",${_f}"
97-
fi
95+
[[ "${_f}" == '_config.yml' ]] && continue
96+
[[ "${_f}" == '_config.yaml' ]] && continue
97+
_config_files+=",${_f}"
9898
done < <(ls -1 "${_git_path}"/_config*.y*ml)
9999

100100

0 commit comments

Comments
 (0)