Skip to content

Commit

Permalink
Added ESM compatibility bridge for imported package commit-from-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaid committed May 27, 2022
1 parent 6b0c954 commit 4d78ac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from "node:path"
import fsp from "@absolunet/fsp"
import {debug, endGroup, getInput, info, setFailed, startGroup} from "@actions/core"
import {context, getOctokit} from "@actions/github"
import CommitManager from "commit-from-action"
import CommitManager from "./lib/esm/commit-from-action.js"
import detectIndent from "detect-indent"
import getActionBooleanInput from "./lib/esm/get-boolean-action-input.js"
import hasContent from "./lib/esm/has-content.js"
Expand Down
3 changes: 3 additions & 0 deletions src/lib/esm/commit-from-action.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import commonJsModule from "commit-from-action"

export default commonJsModule.default

0 comments on commit 4d78ac7

Please sign in to comment.