Skip to content

Commit

Permalink
fix deno publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff committed Apr 5, 2024
1 parent 270b2d0 commit 63be907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
with:
deno-version: v1.x

- run: deno publish --no-check
- run: deno publish --no-check --allow-dirty
2 changes: 1 addition & 1 deletion src/runtime/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function render_html({
* Serialise the Content Security Policy Directives to be directly used as
* header value.
*/
export function serialise_csp(csp: CSPDirectives) {
export function serialise_csp(csp: CSPDirectives): string {
csp = {
'default-src': [`'self'`],
...csp,
Expand Down

0 comments on commit 63be907

Please sign in to comment.