Skip to content

Commit

Permalink
⚡ Fix ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
yukimemi committed Jan 13, 2024
1 parent 4ded77f commit df7d5a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"main": "deno task run main.ts",
"start": "deno task run --watch server.ts",
// development
"test": "deno test --allow-env --allow-read --allow-net --allow-none",
"test": "deno test --allow-env --allow-read --allow-net --allow-none --unstable",
"cov": "deno task test --coverage=cov_profile; deno coverage cov_profile",
"lint": "deno lint --ignore=cov_profile",
"fmt": "deno fmt --ignore=cov_profile",
"check": "deno check ./**/*.ts",
"check": "deno check --unstable ./**/*.ts",
"ci": "deno task check && deno task lint && deno task fmt --check && deno task test",
"deps": "deno run --allow-read --allow-write --allow-net --allow-run https://deno.land/x/[email protected]/main.ts --test='deno task test' deno.jsonc ./**.*.ts",
// git hooks
Expand Down
4 changes: 2 additions & 2 deletions denops/futago/futago.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// =============================================================================
// File : futago.ts
// Author : yukimemi
// Last Change : 2024/01/14 00:53:40.
// Last Change : 2024/01/14 01:48:09.
// =============================================================================

import * as datetime from "https://deno.land/[email protected]/datetime/mod.ts";
Expand Down Expand Up @@ -65,7 +65,7 @@ export class Futago {
public async getHistory(): Promise<InputContent[]> {
const lastHistory = await this.#db.get([this.chatTitle]);
if (lastHistory.value) {
return lastHistory.value;
return (lastHistory.value) as InputContent[];
} else {
return [];
}
Expand Down

0 comments on commit df7d5a2

Please sign in to comment.