(WORKING) Database interaction working and converted all requires to the ES6 import syntax
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
const Logger = require('./logger');
|
||||
const fs = require('fs');
|
||||
import fs from 'fs';
|
||||
|
||||
module.exports = class Config {
|
||||
import {Logger} from './logger';
|
||||
|
||||
export class Config {
|
||||
constructor(path) {
|
||||
this.file = './resources/config/config.json';
|
||||
this.path = [ './resources/', './resources/config' ]
|
||||
|
||||
Reference in New Issue
Block a user