Skip to content

Commit 48f5468

Browse files
committed
Address comment: remove min delay
1 parent e51bbcf commit 48f5468

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/utils/setup-status.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {
1919
LICENSE_FILENAME,
2020
} from "./license.ts";
2121
import type { UnwrapPromise } from "./promises.ts";
22-
import { minDelay } from "./promises.ts";
2322
import { checkSetupStatus } from "./setup.ts";
2423
import type { TimeTracker } from "./time-tracker.ts";
2524

@@ -282,10 +281,8 @@ function createLicenseStatusTracker(
282281
"[setup-status.license]",
283282
[LOCALSTACK_AUTH_FILENAME, LICENSE_FILENAME], //TODO rewrite to depend on change in localStackAuthenticationTracker
284283
async () =>
285-
(await minDelay(
286-
activateLicense(outputChannel).then(() =>
287-
checkIsLicenseValid(outputChannel),
288-
),
284+
(await activateLicense(outputChannel).then(() =>
285+
checkIsLicenseValid(outputChannel),
289286
))
290287
? "ok"
291288
: "setup_required",

0 commit comments

Comments
 (0)