mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Converted global to globalThis.
This commit is contained in:
parent
886b7e9e56
commit
c969603001
9 changed files with 25 additions and 22 deletions
|
|
@ -1,9 +1,10 @@
|
|||
/* eslint-disable no-console */
|
||||
require('dotenv').config();
|
||||
const { PrismaClient } = require('@prisma/client');
|
||||
const chalk = require('chalk');
|
||||
const { execSync } = require('child_process');
|
||||
const semver = require('semver');
|
||||
import 'dotenv/config';
|
||||
|
||||
import { PrismaClient } from '../src/generated/prisma/client';
|
||||
import chalk from 'chalk';
|
||||
import { execSync } from 'child_process';
|
||||
import semver from 'semver';
|
||||
|
||||
if (process.env.SKIP_DB_CHECK) {
|
||||
console.log('Skipping database check.');
|
||||
Loading…
Add table
Add a link
Reference in a new issue