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

jcesarmobile pushed a commit to branch windows-leftovers
in repository 
https://gitbox.apache.org/repos/asf/cordova-plugin-file-transfer.git


The following commit(s) were added to refs/heads/windows-leftovers by this push:
     new 6e56df0  lint
6e56df0 is described below

commit 6e56df0c6efb4aa1d12313bec3ccbea66d8823ed
Author: jcesarmobile <[email protected]>
AuthorDate: Fri Sep 1 01:38:20 2023 +0200

    lint
---
 tests/tests.js      | 4 +---
 www/FileTransfer.js | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/tests.js b/tests/tests.js
index 9c92cfc..d5c6b9b 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -19,7 +19,7 @@
  *
  */
 
-/* global cordova, FileTransfer, FileTransferError, FileUploadOptions, WinJS, 
LocalFileSystem */
+/* global cordova, FileTransfer, FileTransferError, FileUploadOptions, 
LocalFileSystem */
 
 exports.defineAutoTests = function () {
     'use strict';
@@ -30,7 +30,6 @@ exports.defineAutoTests = function () {
     const DEFAULT_FILESYSTEM_SIZE = 1024 * 50; // filesystem size in bytes
     const UNKNOWN_HOST = 'http://foobar.apache.org';
     const DOWNLOAD_TIMEOUT = 15 * ONE_SECOND;
-    const LONG_TIMEOUT = 60 * ONE_SECOND;
     const UPLOAD_TIMEOUT = 15 * ONE_SECOND;
     const ABORT_DELAY = 100; // for abort() tests
     const LATIN1_SYMBOLS = '¥§©ÆÖÑøøø¼';
@@ -486,7 +485,6 @@ exports.defineAutoTests = function () {
                 it(
                     'filetransfer.spec.7 should download a file using file:// 
(when hosted from file://)',
                     function (done) {
-
                         const fileURL = window.location.protocol + '//' + 
window.location.pathname.replace(/ /g, '%20');
                         const specContext = this;
 
diff --git a/www/FileTransfer.js b/www/FileTransfer.js
index 06d3a12..05f083d 100644
--- a/www/FileTransfer.js
+++ b/www/FileTransfer.js
@@ -19,7 +19,7 @@
  *
  */
 
-/* global cordova, FileSystem */
+/* global FileSystem */
 
 const argscheck = require('cordova/argscheck');
 const exec = require('cordova/exec');


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to