Skip to content

Commit d03c92e

Browse files
committed
fix typescript-client 3
1 parent 6e80372 commit d03c92e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript-client/client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -983,12 +983,12 @@ export async function requestInteractiveSlackApproval({
983983
}
984984

985985
async function getMockedApi(): Promise<MockedApi | undefined> {
986-
const mockedPath = getEnv("WM_MOCKED_API_FILE");
987-
988986
if (mockedApi) {
989987
return mockedApi;
990988
}
991989

990+
const mockedPath = getEnv("WM_MOCKED_API_FILE");
991+
992992
if (mockedPath) {
993993
console.info("Using mocked API from", mockedPath);
994994
} else {

0 commit comments

Comments
 (0)