nx 19.5.4 → 19.5.5
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
package/src/utils/git-utils.js
CHANGED
@@ -8,7 +8,9 @@ const child_process_1 = require("child_process");
|
|
8
8
|
const devkit_exports_1 = require("../devkit-exports");
|
9
9
|
function getGithubSlugOrNull() {
|
10
10
|
try {
|
11
|
-
const gitRemote = (0, child_process_1.execSync)('git remote -v'
|
11
|
+
const gitRemote = (0, child_process_1.execSync)('git remote -v', {
|
12
|
+
stdio: 'pipe',
|
13
|
+
}).toString();
|
12
14
|
// If there are no remotes, we default to github
|
13
15
|
if (!gitRemote || gitRemote.length === 0) {
|
14
16
|
return 'github';
|