Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jNullj committed Aug 11, 2023
1 parent 438a1e6 commit 8677c52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/docusaurus-swizzled-warning/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ async function run() {
const url = `https://github.com/${github.context.repo.owner}/${github.context.repo.repo}/pull/${pr.number}.diff`
const diff = await (await fetch(url)).text()
const diffFiles = diffParse(diff)
for (const df in diffFiles) {
for (const df of diffFiles) {
if (df.to !== file.filename) {
continue
}
for (const chunk in df.chunks) {
for (const change in chunk.changes) {
for (const chunk of df.chunks) {
for (const change of chunk.changes) {
file.patch += `${change}\n`
}
}
Expand Down

0 comments on commit 8677c52

Please sign in to comment.