Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dapp-factory/pipeline/web3_pipeline.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import { PromptEnforcer, executeStageWithPrompt } from './prompt_enforcer';
Expand Down Expand Up @@ -27,7 +28,6 @@ export class Web3Pipeline {

// Generate run ID if not provided
const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
const crypto = await import('crypto');
const ideaHash = crypto
.createHash('md5')
.update(config.idea)
Expand Down
5 changes: 4 additions & 1 deletion dapp-factory/web3factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ process.on('uncaughtException', (error) => {
process.exit(1);
});

main().catch(console.error);
main().catch((err) => {
console.error(err);
process.exit(1);
});
Loading