Skip to content

Commit

Permalink
fix: patcher call
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezrin committed Jun 5, 2024
1 parent 0a8d0ea commit e2696b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function setEnhancerMainField(buildPath) {
async function patchFile(enhancerPatcher, buildPath, file) {
const filePath = path.join(buildPath, file)
const contents = await fs.readFile(filePath, 'utf-8')
const patchedContents = enhancerPatcher.patch(file, contents)
const patchedContents = enhancerPatcher(file, contents)

if (contents === patchedContents) {
return false
Expand Down

0 comments on commit e2696b0

Please sign in to comment.