Skip to content

Commit

Permalink
fix: 🐛 wrong folder name for types
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavotr committed Oct 23, 2023
1 parent 556d6d2 commit 3758d79
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dangerfile.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { danger, schedule } from "danger";
import { schedule } from "danger";

import { jiraPrValidation } from "./src/index";
import jiraPrValidation from "./src/index";

schedule(
jiraPrValidation("baseUrl", "username", "token", "projectKey", "fail"),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"version": "1.1.1",
"main": "dist/index.js",
"types": "types/index.d.ts",
"types": "dist/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"commit": "git-cz",
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import nock from "nock";

import { jiraPrValidation } from "./index";
import jiraPrValidation from "./index";

declare const global: any;

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export declare function markdown(message: string): void;
/**
* Import metadata from the issue on Jira and perform validations
*/
export async function jiraPrValidation(
export default async function jiraPrValidation(
baseUrl: string,
username: string,
token: string,
Expand Down

0 comments on commit 3758d79

Please sign in to comment.