diff --git a/src/index.js b/src/index.js index cf72237..7f5bd69 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,7 @@ import {debug, endGroup, getInput, info, setFailed, startGroup} from "@actions/c import {context, getOctokit} from "@actions/github" import detectIndent from "detect-indent" import purdy from "purdy" -import readFileString from "read-file-string" +import readFileString from "./lib/esm/read-file-string.js" import chalk from "./lib/chalk.js" import DescriptionProperty from "./lib/DescriptionProperty.js" diff --git a/src/lib/esm/read-file-string.js b/src/lib/esm/read-file-string.js new file mode 100644 index 0000000..9fe1ebc --- /dev/null +++ b/src/lib/esm/read-file-string.js @@ -0,0 +1,3 @@ +import commonJsModule from "read-file-string" + +export default commonJsModule.default \ No newline at end of file