Skip to content

Commit

Permalink
chore: Bumped reng to latest version (2.0.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoriyasu Yano <[email protected]>
  • Loading branch information
yorinasub17 committed Oct 30, 2023
1 parent 76a8633 commit 8ba8838
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 34 deletions.
77 changes: 47 additions & 30 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rules/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

// fensak remove-start
import type { IChangeSetMetadata, IPatch } from "npm:@fensak-io/reng@^1.3.0";
import type { IChangeSetMetadata, IPatch } from "npm:@fensak-io/reng@^2.0.0";
// fensak remove-end

// deno-lint-ignore no-unused-vars
Expand Down
6 changes: 3 additions & 3 deletions rules/sample_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { assert } from "https://deno.land/[email protected]/testing/asserts.ts";
import {
compileRuleFn,
emptyChangeSetMetadata,
IGitHubRepository,
Repository,
patchFromGitHubPullRequest,
RuleFnSourceLang,
RuleLogMode,
runRule,
} from "npm:@fensak-io/reng@^1.3.0";
} from "npm:@fensak-io/reng@^2.0.0";
import { Octokit } from "npm:@octokit/rest@^20.0.0";

const __dirname = new URL(".", import.meta.url).pathname;
Expand All @@ -18,7 +18,7 @@ const ruleFn = compileRuleFn(
const octokit = new Octokit({
auth: Deno.env.get("GITHUB_API_TOKEN"),
});
const testRepo: IGitHubRepository = {
const testRepo: Repository = {
owner: "fensak-io",
name: "dotfensak-deno-template",
};
Expand Down

0 comments on commit 8ba8838

Please sign in to comment.