forked from udecode/plate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zbeyens
committed
Mar 28, 2024
1 parent
1d0a8a5
commit ab51be6
Showing
3 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@contentlayer/cli/dist/commands/BuildCommand.js b/node_modules/@contentlayer/cli/dist/commands/BuildCommand.js | ||
index 17ef190..fb190fd 100644 | ||
--- a/node_modules/@contentlayer/cli/dist/commands/BuildCommand.js | ||
+++ b/node_modules/@contentlayer/cli/dist/commands/BuildCommand.js | ||
@@ -4,7 +4,7 @@ import { BaseCommand } from './_BaseCommand.js'; | ||
export class BuildCommand extends BaseCommand { | ||
constructor() { | ||
super(...arguments); | ||
- this.executeSafe = () => pipe(this.clearCacheIfNeeded(), T.chain(() => core.getConfig({ configPath: this.configPath })), T.tap((config) => (config.source.options.disableImportAliasWarning ? T.unit : T.fork(core.validateTsconfig))), T.chain((config) => core.generateDotpkg({ config, verbose: this.verbose })), T.tap(core.logGenerateInfo), OT.withSpan('@contentlayer/cli/commands/BuildCommand:executeSafe')); | ||
+ this.executeSafe = () => pipe(this.clearCacheIfNeeded(), T.chain(() => core.getConfig({ configPath: this.configPath })), T.tap((config) => (config.source.options.disableImportAliasWarning ? T.unit : T.fork(core.validateTsconfig))), T.chain((config) => core.generateDotpkg({ config, verbose: this.verbose })), T.tap(core.logGenerateInfo), T.map(() => 0), OT.withSpan('@contentlayer/cli/commands/BuildCommand:executeSafe')); | ||
} | ||
} | ||
BuildCommand.paths = [['build']]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters