Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 725ff0e

Browse files
committed
Reverted path changes
1 parent b37876f commit 725ff0e

15 files changed

+36
-43
lines changed

api/webhooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import app from "@/app";
1+
import app from "../app";
22
import { createNodeMiddleware, createProbot } from "probot";
33

44
const probot = createProbot({

app/events/issue_comment-created.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { Handler, OctokitClient } from "@/utils/types";
2-
import { syncLabelToBoard } from "@/utils/syncLabelToBoard";
3-
import { LABEL_TO_COLUMN, TRIAGE_LABEL } from "@/settings";
1+
import type { Handler, OctokitClient } from "../utils/types";
2+
import { syncLabelToBoard } from "../utils/syncLabelToBoard";
3+
import { LABEL_TO_COLUMN, TRIAGE_LABEL } from "../settings";
44

55
async function getIssuesToFix(octokit: OctokitClient, repoName: string) {
66
return (

app/events/issues-assigned.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Handler } from "@/utils/types";
2-
import { ASSIGNED_LABEL } from "@/settings";
1+
import type { Handler } from "../utils/types";
2+
import { ASSIGNED_LABEL } from "../settings";
33

44
export const issuesAssigned: Handler<"issues.assigned"> = async ({
55
payload,

app/events/issues-labeled.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Handler } from "@/utils/types";
2-
import { syncLabelToBoard } from "@/utils/syncLabelToBoard";
1+
import type { Handler } from "../utils/types";
2+
import { syncLabelToBoard } from "../utils/syncLabelToBoard";
33

44
// Sync labels => project board
55
export const issuesLabeled: Handler<"issues.labeled"> = async ({

app/events/issues-opened.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { Handler } from "@/utils/types";
2-
import { TRIAGE_LABEL, LABEL_TO_COLUMN } from "@/settings";
3-
import { syncLabelToBoard } from "@/utils/syncLabelToBoard";
1+
import type { Handler } from "../utils/types";
2+
import { TRIAGE_LABEL, LABEL_TO_COLUMN } from "../settings";
3+
import { syncLabelToBoard } from "../utils/syncLabelToBoard";
44

55
// Add Triage label when an issue is opened
66
export const issuesOpened: Handler<"issues.opened"> = async ({

app/events/project_card-moved.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Handler } from "@/utils/types";
2-
import { LABEL_TO_COLUMN } from "@/settings";
1+
import type { Handler } from "../utils/types";
2+
import { LABEL_TO_COLUMN } from "../settings";
33
import { findKey } from "lodash";
44

55
// Sync project board => labels

app/events/pull_request-closed/addContributor.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { CONTRIBUTIONS_SETTINGS } from "@/settings";
2-
import commit from "@/utils/commit";
3-
import { OctokitClient } from "@/utils/types";
4-
import { ResourceNotFoundError } from "@/utils/errors";
1+
import { CONTRIBUTIONS_SETTINGS } from "../../settings";
2+
import commit from "../../utils/commit";
3+
import { OctokitClient } from "../../utils/types";
4+
import { ResourceNotFoundError } from "../../utils/errors";
55
import _ from "lodash";
66

77
// @ts-expect-error

app/events/pull_request-closed/getContributions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { CONTRIB_TO_FILETYPE } from "@/settings";
2-
import { OctokitClient } from "@/utils/types";
1+
import { CONTRIB_TO_FILETYPE } from "../../settings";
2+
import { OctokitClient } from "../../utils/types";
33

44
const isTranslatedRepo = (repoName: string) =>
55
/^[a-z-]\.blitzjs\.com$/.test(repoName);

app/events/pull_request-closed/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Handler } from "@/utils/types";
1+
import { Handler } from "../../utils/types";
22

33
import { addContributor } from "./addContributor";
44
import { getContributions } from "./getContributions";

app/events/pull_request-labeled.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Handler } from "@/utils/types";
2-
import { syncLabelToBoard } from "@/utils/syncLabelToBoard";
1+
import type { Handler } from "../utils/types";
2+
import { syncLabelToBoard } from "../utils/syncLabelToBoard";
33

44
// graphql
55
// Sync labels => project board

0 commit comments

Comments
 (0)