sfdx-hardis
Version:
Swiss-army-knife Toolbox for Salesforce. Allows you to define a complete CD/CD Pipeline. Orchestrate base commands and assist users with interactive wizards
14 lines • 483 B
JavaScript
const hook = async (options) => {
// Skip hooks from other commands than hardis commands
const commandId = options?.Command?.id || '';
if (!commandId.startsWith('hardis:scratch:create')) {
return;
}
// Dynamic import to improve perfs
const { copyLocalSfdxInfo } = await import('../../common/utils/index.js');
// Copy local SFDX cache for CI
await copyLocalSfdxInfo();
return;
};
export default hook;
//# sourceMappingURL=store-cache.js.map