Skip to content

Commit

Permalink
fix(fern): remove dupe fern gen from bad merge (#725)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed May 16, 2024
1 parent ee2893e commit 982d388
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/fern/gen_inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ fi
echo "Using Fern from $FERN_REPO_PATH"
FERN_NO_VERSION_REDIRECTION=true node "$FERN_REPO_PATH/packages/cli/cli/dist/dev/cli.cjs" generate --local --group $FERN_GROUP --log-level debug

# Once the above changes are merged
# Generate Fern libraries
set +u
if [ -n "$FERN_REPO_PATH" ]; then
echo "Using Fern from $FERN_REPO_PATH"
FERN_NO_VERSION_REDIRECTION=true node "$FERN_REPO_PATH/packages/cli/cli/dist/dev/cli.cjs" generate --local --group $FERN_GROUP --log-level debug
else
fern generate --local --group $FERN_GROUP --log-level debug
fi
set -u

# Export missing types
cat <<EOF >> sdks/$FERN_GROUP/typescript/src/index.ts
export * as core from "./core";
Expand Down

0 comments on commit 982d388

Please sign in to comment.