Skip to content

Commit 40aecf8

Browse files
committed
Revert "added timing at right place"
This reverts commit 38f7268.
1 parent 38f7268 commit 40aecf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/utils/uploader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ function upload_zip(lt_config, file_name, prefix = "project", env = "prod") {
8787
}
8888
} else {
8989
console.log(`Uploaded ` + prefix + ` file successfully`);
90-
let timeTaken = Date.now() - start;
91-
console.log("Total time taken to upload file : " + timeTaken/1000 + "seconds");
9290
resolve(responseDataURL);
9391
}
9492
}
9593
});
94+
let timeTaken = Date.now() - start;
95+
console.log("Total time taken to upload file : " + timeTaken/1000 + "seconds");
9696
})
9797
.catch(function (err) {
9898
reject(err);

0 commit comments

Comments
 (0)