Skip to content

Commit

Permalink
Commander: switch cloning method to HTTPS (#18136)
Browse files Browse the repository at this point in the history
* Commander: switch cloning method to HTTPS

* Add HOME env variable
  • Loading branch information
ellatrix authored and hypest committed Nov 4, 2019
1 parent 82085ed commit 12490f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/commander.js
Expand Up @@ -17,7 +17,7 @@ const uuid = require( 'uuid/v4' );

// Config
const gitRepoOwner = 'WordPress';
const gitRepoURL = 'git@github.com:' + gitRepoOwner + '/gutenberg.git';
const gitRepoURL = 'https://github.com/' + gitRepoOwner + '/gutenberg.git';
const svnRepoURL = 'https://plugins.svn.wordpress.org/gutenberg';

// Working Directories
Expand Down Expand Up @@ -95,6 +95,7 @@ function runShellScript( script, cwd ) {
env: {
NO_CHECKS: true,
PATH: process.env.PATH,
HOME: process.env.HOME,
},
stdio: [ 'inherit', 'ignore', 'inherit' ],
} );
Expand Down

0 comments on commit 12490f2

Please sign in to comment.