style(shell,smoke): lint fixes
This commit is contained in:
1 parent
f6d76bb307
commit
a2711f1667
2 files changed
+6
-4
No files matched your search
+4
-1
@@ -8,7 +8,10 @@ const start = `${month}-01`;
|
||||
const end = new Date().toISOString().slice(0, 10);
|
||||
const range = `start=${start}&end=${end}`;
|
||||
|
||||
type Check = { path: string; keys: string[] };
|
||||
interface Check {
|
||||
keys: string[];
|
||||
path: string;
|
||||
}
|
||||
|
||||
const checks: Check[] = [
|
||||
{ keys: ["data.version", "data.api_version"], path: "/v1/about" },
|
||||
|
||||
@@ -32,9 +32,8 @@
|
||||
if (!period.ready) {
|
||||
return;
|
||||
}
|
||||
const url = page.url;
|
||||
const start = period.start;
|
||||
const end = period.end;
|
||||
const { url } = page;
|
||||
const { start, end } = period;
|
||||
untrack(() => {
|
||||
const fromUrl = rangeFromUrl(url);
|
||||
if (url.href !== lastHref && fromUrl) {
|
||||
|
||||
Reference in new issue
Block a user