Skip to content

Commit 360e1b6

Browse files
Update edit.js
1 parent e4a19c6 commit 360e1b6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

edit.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ var newFile = await octokit.request('PUT /repos/{owner}/{repo}/contents/{path}',
4343
path: d,
4444
message: 'update up.html from up.js',
4545
content: btoa(content),
46-
if (s == true) {
4746
sha: old.data.sha,
48-
}
4947
headers: {
5048
'X-GitHub-Api-Version': '2022-11-28'
5149
}

0 commit comments

Comments
 (0)