cob-cli 2.46.0-beta.9 → 2.47.0
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/commands/init.js
CHANGED
|
@@ -71,7 +71,16 @@ async function validCobServer(server) {
|
|
|
71
71
|
/* ************************************ */
|
|
72
72
|
async function projectExistsInGitAccount(projectName, repoaccount) {
|
|
73
73
|
try {
|
|
74
|
-
|
|
74
|
+
let cloneConfs = []
|
|
75
|
+
if(process.platform === 'win32'){
|
|
76
|
+
// on windows we force the usage of lf as line-endings
|
|
77
|
+
// so that rsync doesn't think all files have changed
|
|
78
|
+
cloneConfs = [
|
|
79
|
+
'--config', 'core.autocrlf=input',
|
|
80
|
+
'--config', 'core.eol=lf'
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
await git().clone(repoaccount + projectName, cloneConfs);
|
|
75
84
|
return true;
|
|
76
85
|
} catch (e) {
|
|
77
86
|
return false
|
|
@@ -4,7 +4,7 @@ const fs = require('fs-extra');
|
|
|
4
4
|
const { getKeypress } = require("../task_lists/common_helpers");
|
|
5
5
|
|
|
6
6
|
/* ************************************ */
|
|
7
|
-
const COB_PRODUCTS = ["recordm", "integrationm", "recordm-importer", "reportm", "userm", "confm", "others"];
|
|
7
|
+
const COB_PRODUCTS = ["recordm", "integrationm", "recordm-importer", "reportm", "userm", "confm", "others", "authm"];
|
|
8
8
|
|
|
9
9
|
_syncFiles.TEST = "Test equality";
|
|
10
10
|
_syncFiles.DIFF = "Get differences";
|
package/package.json
CHANGED