Skip to content

Commit

Permalink
Filter out @import Mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
kigster committed Jul 11, 2024
1 parent 8a006f2 commit 48d4300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/site-index
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ index_path="${RAILS_ROOT}/${dir}"
index_file="${index_path}/${file}"

temp="$(mktemp)"
ls -1 "${index_path}"/[a-z]* | xargs -n 1 basename | awk '{printf "%s \"%s\";\n", "@import", $1}' > "${temp}"
ls -1 "${index_path}"/[a-z]* | xargs -n 1 basename | awk '{printf "%s \"%s\";\n", "@import", $1}' | grep -v '@import "Mobile"' > "${temp}"

export _diff
if [[ -f "${index_file}" ]]; then
Expand Down

0 comments on commit 48d4300

Please sign in to comment.