@opencrvs/create-countryconfig 2.0.2-rc.0aa832c → 2.0.2-rc.5a52b2b
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/index.js +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -180,6 +180,12 @@ function cloneRepository(
|
|
|
180
180
|
process.exit(1)
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
+
console.log("Removing 'origin' remote from " + targetDir + "...")
|
|
184
|
+
execSync('git remote remove origin', {
|
|
185
|
+
cwd: targetDir,
|
|
186
|
+
stdio: 'inherit'
|
|
187
|
+
})
|
|
188
|
+
|
|
183
189
|
}
|
|
184
190
|
|
|
185
191
|
const projectName = process.argv[2]
|
|
@@ -267,4 +273,3 @@ console.log(' git init')
|
|
|
267
273
|
console.log(' npm install\n')
|
|
268
274
|
console.log('To get started with the infrastructure:\n')
|
|
269
275
|
console.log(' cd ' + infrastructureDirName)
|
|
270
|
-
console.log(' git init\n')
|