Skip to content

Commit

Permalink
fix: 👷 fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gouz committed Aug 30, 2024
1 parent 87549c5 commit 0fc5260
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: cat ./choc.tar.gz > release_mac.tar.gz
- name: Run Mac Intel Build
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-12'
run: cat ./choc.tar.gz > release_mac_intel.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"choc": "./bin/index.js"
},
"scripts": {
"make": "bun build src/index.ts --outfile exe/choc --compile --minify --sourcemap=none"
"make": "bun build src/index.ts --outfile exe/choc --compile --minify"
},
"dependencies": {
"commander": "^12.0.0"
Expand Down
6 changes: 3 additions & 3 deletions src/render/main.js.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,14 @@ window.sortCol = (colName) => {

window.filterTalks = () => {
const articles = document.querySelectorAll(".talk");
articles.forEach((article) => {
articles.forEach((article, _) => {
article.classList.remove("hidden");
});

["categories", "formats", "speakers", "companies"].forEach((key) => {
["categories", "formats", "speakers", "companies"].forEach((key, _) => {
const choice = document.getElementById(key).value.trim();
if (choice !== "")
articles.forEach((article) => {
articles.forEach((article, _) => {
if (article.getAttribute(`data-${key}`).indexOf(` ${choice} `) === -1)
article.classList.add("hidden");
});
Expand Down

0 comments on commit 0fc5260

Please sign in to comment.