You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/05/28 21:01:55 UTC

[airavata-django-portal] branch airavata-3016 updated: AIRAVATA-3034 Fixing lint errors

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch airavata-3016
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/airavata-3016 by this push:
     new 2813ea5  AIRAVATA-3034 Fixing lint errors
2813ea5 is described below

commit 2813ea50a761c308996f951d17fba64fe57e1a7f
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue May 28 17:01:46 2019 -0400

    AIRAVATA-3034 Fixing lint errors
---
 .../js/components/experiment/input-editors/FileInputEditor.vue    | 2 +-
 .../js/containers/UserStorageContainer.vue                        | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
index 4009866..4c1eb24 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
@@ -94,7 +94,7 @@ export default {
             throw err;
           }
         })
-        .catch(err => utils.FetchUtils.reportError);
+        .catch(utils.FetchUtils.reportError);
     },
     fileChanged() {
       if (this.file) {
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
index 809bcb2..03e5f03 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/UserStorageContainer.vue
@@ -110,7 +110,7 @@ export default {
         utils.FetchUtils.post(
           "/api/user-storage/" + this.storagePath,
           data
-        ).then(result => {
+        ).then(() => {
           // this.file = null;
           this.$refs["file-input"].reset();
           this.loadUserStoragePath(this.storagePath);
@@ -125,7 +125,7 @@ export default {
         }
         newDirPath = newDirPath + this.dirName;
         utils.FetchUtils.post("/api/user-storage/" + newDirPath).then(
-          result => {
+         () => {
             this.dirName = null;
             this.loadUserStoragePath(this.storagePath);
           }
@@ -133,7 +133,7 @@ export default {
       }
     },
     deleteDir(path) {
-      utils.FetchUtils.delete("/api/user-storage/~/" + path).then(result => {
+      utils.FetchUtils.delete("/api/user-storage/~/" + path).then(() => {
         this.loadUserStoragePath(this.storagePath);
       });
     },
@@ -154,7 +154,7 @@ export default {
     }
   },
   watch: {
-    $route(to, from) {
+    $route() {
       this.loadUserStoragePath(this.storagePath);
     }
   }