Skip to content

Commit 1c8d83f

Browse files
committed
fix git clone and update version and port
1 parent a5f15dd commit 1c8d83f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
//Change offline in /config.
44
//Change github in /config.
55
exports.editor = {
6-
"port": 80,
7-
"version": "0.3.12",
8-
"version_url": "https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/release/version.txt"
6+
"port": 3000,
7+
"version": "0.5.0",
8+
"version_url": "https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/beta/release/version.txt"
99
};
1010

1111
exports.adafruit = {

helpers/git_helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ exports.clone_repository = function(repository_path, cb) {
9696
var repository_url = url.parse(repository_path);
9797

9898
winston.debug("cloning", repository_path);
99-
var repo = git(REPOSITORY_PATH);
100-
repo.clone(repository_url.href, function(err, output) {
99+
100+
git.clone(REPOSITORY_PATH, repository_url.href, function(err, output) {
101101
cb(err, output);
102102
});
103103
};

0 commit comments

Comments
 (0)