mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 11:13:29 +00:00
14 lines
1.3 KiB
Diff
14 lines
1.3 KiB
Diff
|
diff --git a/dist/commands/BuildCommand.js b/dist/commands/BuildCommand.js
|
||
|
index 17ef19082c821de94e06dc468dbff62217b272cd..aebb1bcb55d0d60b3d32408943f6ef495fe66f4e 100644
|
||
|
--- a/dist/commands/BuildCommand.js
|
||
|
+++ b/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']];
|