Skip to content

Commit 3d1026c

Browse files
committed
Use es6 import to be tslint compiant
1 parent d076093 commit 3d1026c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

knexfile.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
require('dotenv').config();
1+
import * as dotenv from 'dotenv';
2+
dotenv.config();
23

34
/**
45
* This is the database configuration for the migrations and

0 commit comments

Comments
 (0)