We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e32ff77 commit 1e73dcfCopy full SHA for 1e73dcf
src/index.ts
@@ -41,7 +41,7 @@ export default (api: IApi) => {
41
});
42
43
api.onGenerateFiles(() => {
44
- const { roles = {} } = api.config.access || {};
+ const { roles = {} } = api.userConfig.access || {};
45
const accessTpl = readFileSync(
46
join(ACCESS_TEMPLATES_DIR, 'core.tpl'),
47
'utf-8',
0 commit comments