From fbd1ef74e84b59ef0b8d99e311f0aced902190e6 Mon Sep 17 00:00:00 2001 From: James Ward Date: Tue, 10 Aug 2021 23:18:59 -0400 Subject: [PATCH] fix: include all drivers in driverfactory error message (#8061) --- src/driver/DriverFactory.ts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/driver/DriverFactory.ts b/src/driver/DriverFactory.ts index 935b50fd35..2e04c7c3ab 100644 --- a/src/driver/DriverFactory.ts +++ b/src/driver/DriverFactory.ts @@ -70,8 +70,24 @@ export class DriverFactory { throw new MissingDriverError( type, [ - "cordova", "expo", "mariadb", "mongodb", "mssql", "mysql", "oracle", "postgres", - "sqlite", "better-sqlite3", "sqljs", "react-native", "aurora-data-api", "aurora-data-api-pg" + "aurora-data-api", + "aurora-data-api-pg", + "better-sqlite3", + "capacitor", + "cockroachdb", + "cordova", + "expo", + "mariadb", + "mongodb", + "mssql", + "mysql", + "nativescript", + "oracle", + "postgres", + "react-native", + "sap", + "sqlite", + "sqljs", ] ); }