Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Aug 28, 2023
1 parent d73e6f8 commit 194e91f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/patchPackages.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ts-check
// @ts-check
const path = require('path')
const dataPath = path.join(require.resolve('minecraft-data'), '../data.js')

Expand All @@ -15,8 +15,8 @@ function removeLinesBetween (start, end) {
if (startIndex === -1) return
const endIndex = startIndex + lines.slice(startIndex).findIndex(line => line === end)
// insert block comments
lines.splice(startIndex, 0, `/*`)
lines.splice(endIndex + 2, 0, `*/`)
lines.splice(startIndex, 0, '/*')
lines.splice(endIndex + 2, 0, '*/')
}

removeLinesBetween(" 'bedrock': {", ' }')
Expand Down

0 comments on commit 194e91f

Please sign in to comment.