| 1 2 3 4 5 6 7 8 9 10 11 12 | 1x 1x 5x 11x 1x | 'use strict';
const { configTypes } = require('./constants');
const containsServerlessConfig = path => {
return configTypes.some(configType => {
return path.indexOf(configType) > -1;
});
};
module.exports = { containsServerlessConfig };
|