diff --git a/lib/Repository.js b/lib/Repository.js index d338b261..07a1c280 100644 --- a/lib/Repository.js +++ b/lib/Repository.js @@ -713,6 +713,7 @@ class Repository extends Requestable { * @return {Promise} - the promise for the http request */ writeFile(branch, path, content, message, options, cb) { + options = options || {}; if (typeof options === 'function') { cb = options; options = {};
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: