@misterhuydo/sentinel 1.4.19 → 1.4.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/add.js +0 -10
- package/package.json +1 -1
package/lib/add.js
CHANGED
|
@@ -489,16 +489,6 @@ async function addFromGit(gitUrl, workspace) {
|
|
|
489
489
|
if (discovered.length > 0) {
|
|
490
490
|
// Config already exists in the cloned repo — just generate scripts
|
|
491
491
|
generateProjectScripts(projectDir, codeDir, pythonBin);
|
|
492
|
-
// Write SSH_KEY_FILE for primary repo itself (no LOCAL_PATH — derived automatically)
|
|
493
|
-
const primaryProps = path.join(projectDir, 'config', 'repo-configs', `${repoSlug}.properties`);
|
|
494
|
-
if (!fs.existsSync(primaryProps)) {
|
|
495
|
-
writePropertiesFile(primaryProps, {
|
|
496
|
-
REPO_NAME: repoSlug,
|
|
497
|
-
REPO_URL: gitUrl,
|
|
498
|
-
BRANCH: 'main',
|
|
499
|
-
AUTO_PUBLISH: autoPublish ? 'true' : 'false',
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
492
|
ok(`Project "${name}" ready at ${projectDir}`);
|
|
503
493
|
printNextSteps(projectDir, autoPublish);
|
|
504
494
|
await offerToStart(projectDir);
|