kopia lustrzana https://github.com/c9/core
Fixes for SDK.
rodzic
9d63ad86ab
commit
5d5ab33d4d
|
@ -562,7 +562,7 @@ define(function(require, exports, module) {
|
|||
|
||||
function setAPIKey(apikey){
|
||||
// Validate Key
|
||||
if (!apikey || !apikey.match(/\w{28}=/))
|
||||
if (!apikey || !apikey.match(/\w{27}=/))
|
||||
throw new Error("Invalid API key");
|
||||
|
||||
return {
|
||||
|
|
|
@ -76,7 +76,7 @@ define(function(require, exports, module) {
|
|||
wait++;
|
||||
|
||||
var install = [];
|
||||
fs.exists(path, function(exists){
|
||||
fs.exists("~/.c9/" + path, function(exists){
|
||||
if (!exists) {
|
||||
install.push(options);
|
||||
names.remove(name);
|
||||
|
|
Ładowanie…
Reference in New Issue