Replace repository URL in records with published repo record id #67

Merged
ashwin merged 2 commits from deep-stack/laconic-registry-cli:pm-fix-demo-script into laconic2 2024-06-24 07:27:40 +00:00
Showing only changes of commit 08d6351d25 - Show all commits

View File

@ -91,7 +91,7 @@ async function publishRecordsFromDir (recordsDir: string): Promise<void> {
// Check if deployment record files exist // Check if deployment record files exist
const deploymentRecordsDir = path.resolve(recordsDir, 'deployments'); const deploymentRecordsDir = path.resolve(recordsDir, 'deployments');
if (!fs.statSync(deploymentRecordsDir).isDirectory()) { if (!fs.existsSync(deploymentRecordsDir) || !fs.statSync(deploymentRecordsDir).isDirectory()) {
return; return;
} }
console.log('--------------------------------------'); console.log('--------------------------------------');