chore: action comments
parent
e5b59a831f
commit
c7bdf8fb3d
|
@ -2,7 +2,7 @@
|
|||
|
||||
import fs from 'fs';
|
||||
|
||||
import { isEmpty } from 'lodash';
|
||||
import isEmpty from 'lodash/isEmpty';
|
||||
import ConfigType from './config/type';
|
||||
import defaultTypes from './config/types';
|
||||
import { logMessage } from './utils';
|
||||
|
|
|
@ -268,7 +268,6 @@ export default () => ({
|
|||
* @returns {void}
|
||||
*/
|
||||
exportSingleConfig: async (configName, onSuccess) => {
|
||||
console.log(configName);
|
||||
// Check if the config should be included.
|
||||
const shouldInclude = isEmpty(strapi.config.get('plugin::config-sync.includedConfig')) || !isEmpty(strapi.config.get('plugin::config-sync.includedConfig').filter((option) => configName.startsWith(option)));
|
||||
const shouldExclude = !isEmpty(strapi.config.get('plugin::config-sync.excludedConfig').filter((option) => configName.startsWith(option)));
|
||||
|
|
Loading…
Reference in New Issue