Skip to content

Commit

Permalink
Added ESM compatibility bridge for imported package has-content
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaid committed May 27, 2022
1 parent 70ccb66 commit 8289e46
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 @@ -6,7 +6,7 @@ import {context, getOctokit} from "@actions/github"
import CommitManager from "commit-from-action"
import detectIndent from "detect-indent"
import getActionBooleanInput from "get-boolean-action-input"
import hasContent from "has-content"
import hasContent from "./lib/esm/has-content.js"
import purdy from "purdy"
import readFileString from "read-file-string"
import zahl from "./lib/esm/zahl.js"
Expand Down
3 changes: 3 additions & 0 deletions src/lib/esm/has-content.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import commonJsModule from "has-content"

export default commonJsModule.default

0 comments on commit 8289e46

Please sign in to comment.