Add circular dependency detection to CI (#7316)
* add circular dependency detection to CI * fixed Auth-RestWrite circular dependency * updated package lock * fixed Logger circular dependency * fix lint
This commit is contained in:
@@ -5,6 +5,7 @@ import MailAdapter from '../Adapters/Email/MailAdapter';
|
||||
import rest from '../rest';
|
||||
import Parse from 'parse/node';
|
||||
import AccountLockout from '../AccountLockout';
|
||||
import Config from '../Config';
|
||||
|
||||
var RestQuery = require('../RestQuery');
|
||||
var Auth = require('../Auth');
|
||||
@@ -14,6 +15,10 @@ export class UserController extends AdaptableController {
|
||||
super(adapter, appId, options);
|
||||
}
|
||||
|
||||
get config() {
|
||||
return Config.get(this.appId);
|
||||
}
|
||||
|
||||
validateAdapter(adapter) {
|
||||
// Allow no adapter
|
||||
if (!adapter && !this.shouldVerifyEmails) {
|
||||
|
||||
Reference in New Issue
Block a user