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 Oct 28, 2019
1 parent 702b11c commit 669da7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/commander.js
Original file line number Diff line number Diff line change
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 669da7a

Please sign in to comment.