Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Remove unneeded functions and question tags, fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoTheThird committed May 1, 2018
1 parent ab53532 commit 8db4945
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/client.js
Expand Up @@ -73,7 +73,6 @@ class Client {
}

// Install commands
// QUESTION Should this be public? Maybe call it from createInstallCommandsFile
createInstallCommands(files, installerCheck, wipe, enable) {
var cmd = startCommands;
if (wipe === true) cmd += "\nformat data";
Expand Down Expand Up @@ -104,7 +103,6 @@ class Client {
}

// HTTP functions
// QUESTION Should this be public?
getChannelsIndex() {
const _this = this;
return new Promise(function(resolve, reject) {
Expand All @@ -126,7 +124,6 @@ class Client {
});
}

// QUESTION Should this be public?
getDeviceIndex(device, channel) {
var _this = this;
return new Promise(function(resolve, reject) {
Expand Down Expand Up @@ -215,24 +212,6 @@ class Client {
return ret;
}

// QUESTION Is this still needed?
getFileBasenameArray(urls) {
var files = [];
urls.forEach((url) => {
files.push(path.basename(url.url));
});
return files;
}

// QUESTION Is this still needed?
getFilePathArray(urls) {
var files = [];
urls.forEach((url) => {
files.push(url.path + "/" + path.basename(url.url));
});
return files;
}

getFilePushArray(urls) {
var files = [];
urls.forEach((url) => {
Expand Down

0 comments on commit 8db4945

Please sign in to comment.