diff --git a/lib/Repository.js b/lib/Repository.js index 74452dde..931a16e8 100644 --- a/lib/Repository.js +++ b/lib/Repository.js @@ -784,9 +784,9 @@ class Repository extends Requestable { return this.getSha(branch, filePath) .then((response) => { commit.sha = response.data.sha; - return this._request('PUT', `/repos/${this.__fullname}/contents/${filePath}`, commit, cb); + return this._request('PUT', `/repos/${this.__fullname}/contents/${filePath}`, commit, cb, options.raw); }, () => { - return this._request('PUT', `/repos/${this.__fullname}/contents/${filePath}`, commit, cb); + return this._request('PUT', `/repos/${this.__fullname}/contents/${filePath}`, commit, cb, options.raw); }); }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: