π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: nitpick
Hemant M Mehtae58d0fe33036
diff --git a/packages/nocodb/src/helpers/utils.ts b/packages/nocodb/src/helpers/utils.tsnew file mode 100644index 0000000000..37a8fd2648--- /dev/null+++ b/packages/nocodb/src/helpers/utils.ts@@ -0,0 +1 @@+export const isPlayWrightNode = () => process.env.PLAYWRIGHT_TEST === 'true';diff --git a/packages/nocodb/src/services/plugins.service.ts b/packages/nocodb/src/services/plugins.service.tsindex 709e19f8e2..3e88538e9b 100644--- a/packages/nocodb/src/services/plugins.service.ts+++ b/packages/nocodb/src/services/plugins.service.ts@@ -6,8 +6,7 @@ import { AppHooksService } from '~/services/app-hooks/app-hooks.service';import { validatePayload } from '~/helpers';import NcPluginMgrv2 from '~/helpers/NcPluginMgrv2';import { Plugin } from '~/models';--export const isPlayWrightNode = () => process.env.PLAYWRIGHT_TEST === 'true';+import { isPlayWrightNode } from '~/helpers/utils';@Injectable()export class PluginsService {