From d95f88e824febb162ce843a6935d35a7d4b0db5e Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Fri, 26 Mar 2021 19:27:32 +0100 Subject: [PATCH] fix: use `import` instead of `require` --- src/extractCommits.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extractCommits.ts b/src/extractCommits.ts index 980a929..686a3d3 100644 --- a/src/extractCommits.ts +++ b/src/extractCommits.ts @@ -1,5 +1,5 @@ -const get = require("lodash.get"); -const got = require("got"); +import get from "lodash.get" +import got from "got" type Commit = { message: string;