bdy 1.17.17-dev → 1.17.19-dev
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/distTs/package.json
CHANGED
|
@@ -101,7 +101,7 @@ const initRepo = async (workspace, project, path, git, options) => {
|
|
|
101
101
|
output_1.default.exitNormal();
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
await (0, utils_1.execLocally)('git config credential.helper ""', {
|
|
104
|
+
await (0, utils_1.execLocally)('git config --replace-all credential.helper ""', {
|
|
105
105
|
cwd: path,
|
|
106
106
|
});
|
|
107
107
|
await (0, utils_1.execLocally)("git config --add credential.helper '!bdy project git credential'", {
|
package/distTs/src/input.js
CHANGED
|
@@ -707,8 +707,8 @@ class Input {
|
|
|
707
707
|
return cert;
|
|
708
708
|
}
|
|
709
709
|
static async tunnelToken(token) {
|
|
710
|
-
const workspace =
|
|
711
|
-
const project =
|
|
710
|
+
const workspace = Input.restApiWorkspace('', true);
|
|
711
|
+
const project = Input.restApiProject('', true);
|
|
712
712
|
let fromLogin = false;
|
|
713
713
|
if (!token && cfg_1.default.getApiToken() && workspace) {
|
|
714
714
|
const client = Input.restApiTokenClient();
|