Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into update
Browse files Browse the repository at this point in the history
  • Loading branch information
jog1t authored Aug 8, 2024
2 parents 2a2dba5 + fdcc94b commit 99af676
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { getLiteralValueForHeader, isLiteralHeader } from "./endpoints/utils/isL
import { REQUEST_OPTIONS_PARAMETER_NAME } from "./endpoints/utils/requestOptionsParameter";
import { OAuthTokenProviderGenerator } from "./oauth-generator/OAuthTokenProviderGenerator";


export declare namespace GeneratedSdkClientClassImpl {
export interface Init {
isRoot: boolean;
Expand Down Expand Up @@ -865,6 +866,7 @@ export class GeneratedSdkClientClassImpl implements GeneratedSdkClientClass {
});
}


// headers.push(
// {
// header: "X-Fern-Runtime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export async function generateWorkspace({
});
} else {
if (!token) {
return context.failAndThrow("Token is required for remote generation.");
return context.failAndThrow("Must provide token if 'useLocalDocker' is false");
}
await runRemoteGenerationForAPIWorkspace({
projectConfig,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createOrganizationIfDoesNotExist, FernToken, FernUserToken } from "@fern-api/auth";

import { Values } from "@fern-api/core-utils";
import { join, RelativeFilePath } from "@fern-api/fs-utils";
import { askToLogin } from "@fern-api/login";
Expand Down

0 comments on commit 99af676

Please sign in to comment.