Skip to content

Commit 8cef7fb

Browse files
committed
fix: add explicit file extensions for ESM
1 parent bf79fc4 commit 8cef7fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import lambdaFunction from "./lambda-function";
1+
import lambdaFunction from "./lambda-function.js";
22

33
export * from "probot";
44

test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, test, expect, beforeEach, afterEach } from "vitest";
22
import path from "node:path";
33
import fetchMock from "fetch-mock";
44

5-
import { createLambdaFunction, Probot, ProbotOctokit } from "../index";
5+
import { createLambdaFunction, Probot, ProbotOctokit } from "../index.js";
66
import app from "./fixtures/app.js";
77

88
describe("@probot/adapter-aws-lambda-serverless", () => {

0 commit comments

Comments
 (0)