UNPKG

sfdx-git-delta

Version:

Generate the sfdx content in source format and destructive change from two git commits

16 lines 614 B
'use strict'; import { PATH_SEP } from '../constant/fsConstants.js'; import { META_REGEX } from '../constant/metadataConstants.js'; import InResourceHandler from './inResourceHandler.js'; export default class BundleHandler extends InResourceHandler { _getElementName() { const bundlePath = this.splittedLine .slice(this.splittedLine.indexOf(this.metadataDef.directoryName) + 1) .slice(0, 2); return bundlePath .join(PATH_SEP) .replace(META_REGEX, '') .replace(this.suffixRegex, ''); } } //# sourceMappingURL=inBundleHandler.js.map