Skip to content

Commit 7c2676e

Browse files
committed
refactor: move main.ts to src/
1 parent ab2df0b commit 7c2676e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"act": "act -j integration",
44
"check": "deno check **/*.ts",
55
"pre-commit": "deno fmt && deno lint && deno task check && deno task test",
6-
"run": "deno run --allow-env --allow-read --allow-write --allow-net --allow-run=deno,git --no-prompt --unstable-kv ./main.ts",
6+
"run": "deno run --allow-env --allow-read --allow-write --allow-net --allow-run=deno,git --no-prompt --unstable-kv ./src/main.ts",
77
"test": "deno test --allow-env --allow-read --allow-write=. --allow-net --allow-run=deno --env --no-check --unstable-kv"
88
},
99
"imports": {

main.ts renamed to src/main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import actions from "@actions/core";
22
import * as github from "@actions/github";
33
import { collect, createCommitSequence, execute } from "@molt/core";
44
import { expandGlob } from "@std/fs";
5-
import { getInputs } from "./src/inputs.ts";
6-
import { fromInputs } from "./src/params.ts";
7-
import { parseGitUser } from "./src/strings.ts";
8-
import { createSummary } from "./src/summary.ts";
9-
import { createReport } from "./src/report.ts";
5+
import { getInputs } from "./inputs.ts";
6+
import { fromInputs } from "./params.ts";
7+
import { createReport } from "./report.ts";
8+
import { parseGitUser } from "./strings.ts";
9+
import { createSummary } from "./summary.ts";
1010

1111
export default async function main() {
1212
actions.debug(JSON.stringify(github.context));

0 commit comments

Comments
 (0)