Replace repository URL in records with published repo record id #67
@ -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('--------------------------------------');
|
||||||
|
Loading…
Reference in New Issue
Block a user