Commit 50aac904 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Rename Base64 to base64 because we don't need to instantiate it

parent a591fd20
......@@ -2,7 +2,7 @@
var $ = require('jquery');
var semver = require('semver');
var Base64 = require('js-base64').Base64;
var base64 = require('js-base64').Base64;
var utils = require('./app/utils');
var QueryParams = require('./app/query-params');
......@@ -407,7 +407,7 @@ var run = function () {
return $.getJSON('https://api.github.com/repos/' + root + '/contents/' + path)
.done(function (data) {
if ('content' in data) {
cb(null, Base64.decode(data.content));
cb(null, base64.decode(data.content));
} else {
cb('Content not received');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment