update src/services/providers/helpers/giteeHelper.js.
This commit is contained in:
parent
8a045e3ca9
commit
5636be49a6
@ -264,7 +264,7 @@ export default {
|
||||
url: `contents/${encodeURIComponent(path)}`,
|
||||
body: {
|
||||
message: getCommitMessage(sha ? 'updateFileMessage' : 'createFileMessage', path),
|
||||
content: utils.encodeBase64(content),
|
||||
content: utils.encodeBase64(content == "" ? "\u0000" : content),
|
||||
sha,
|
||||
branch,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user