Skip to content

Commit ac49683

Browse files
committed
fix: update data connector impoer message error
AdminForth/1687/we-need-move-out-connectors-to
1 parent fc13082 commit ac49683

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎adminforth/index.ts‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -488,19 +488,19 @@ class AdminForth implements IAdminForth {
488488
return connectorModule.default;
489489
} catch (e) {
490490
throw new Error(`
491-
╔════════════════════════════════════════════════════════════════════════════╗
492-
║ ║
493-
║ ❌ CONNECTOR IMPORT ERROR ║
494-
║ ──────────────────────────────────────────────────────────────────────── ║
495-
║ ║
496-
║ Error while importing ${connectorName} ║
497-
║ ║
498-
║ 💡 SOLUTION ║
499-
║ Install the required package: ║
500-
║ ║
501-
║ ${doesUserHavePnpmLock ? `pnpm add @adminforth/connector-${connectorName}` : `npm install @adminforth/connector-${connectorName}`} ║ ║
502-
║ ║
503-
╚════════════════════════════════════════════════════════════════════════════╝
491+
╔════════════════════════════════════════════════════════════════════════════
492+
║
493+
║ ❌ CONNECTOR IMPORT ERROR
494+
║ ──────────────────────────────────────────────────────────────────────────
495+
║
496+
║ Error while importing ${connectorName} connector
497+
║
498+
║ 💡 SOLUTION
499+
║ Install the required package:
500+
║
501+
║ ${doesUserHavePnpmLock ? `pnpm add @adminforth/connector-${connectorName}` : `npm install @adminforth/connector-${connectorName}`} ║
502+
║
503+
╚════════════════════════════════════════════════════════════════════════════
504504
`);
505505
}
506506
}

0 commit comments

Comments
 (0)