oops
This commit is contained in:
parent
1ef19479f9
commit
e65dbed785
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -106,3 +106,4 @@ dist
|
||||||
# Stores VSCode versions used for testing VSCode extensions
|
# Stores VSCode versions used for testing VSCode extensions
|
||||||
.vscode-test
|
.vscode-test
|
||||||
/.idea
|
/.idea
|
||||||
|
/speedtest
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import Speedtest from "./Speedtest";
|
import Speedtest from "./Speedtest";
|
||||||
|
|
||||||
let interval: number = 1800000; // ms
|
let interval: number = 1800000; // ms
|
||||||
let file: string = "./data/data.xlsx";
|
let file: string = "./dist/data/data.xlsx";
|
||||||
|
|
||||||
run();
|
run();
|
||||||
setInterval(() => run(), interval);
|
setInterval(() => run(), interval);
|
||||||
|
|
||||||
function run (): void {
|
function run (): void {
|
||||||
new Speedtest(file)
|
new Speedtest(file)
|
||||||
.run()
|
.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue