Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Feb 13, 2022
1 parent 5a7686c commit 8073dda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/udd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Update dependencies
run: >
deno run -A https://deno.land/x/udd/main.ts
$(find . -name "*.ts") --test="vr test"
$(find . -name "*.ts") --test="deno test -Ar --no-check=remote"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ sift({
}
return json({ message: "something went wrong." }, { status: 500 });
},
"/:slug": async (_, params) => {
"/:slug": async (_, params = { slug: "" }) => {
const name = Array.isArray(params.slug) ? params.slug[0] : params.slug;
console.log(name);

Expand Down

0 comments on commit 8073dda

Please sign in to comment.