Skip to content

Commit

Permalink
Fix spawn destinationRoot.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Feb 20, 2021
1 parent 8f4afe9 commit 310f72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/actions/spawn-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const spawnCommand = module.exports;
* @param {object} [opt] any cross-spawn options
* @return {String} spawned process reference
*/
spawnCommand.spawnCommand = (command, args, opt) => {
spawnCommand.spawnCommand = function (command, args, opt) {
return spawn(command, args, {
stdio: 'inherit',
cwd: this.destinationRoot(),
Expand All @@ -31,7 +31,7 @@ spawnCommand.spawnCommand = (command, args, opt) => {
* @param {object} [opt] any cross-spawn options
* @return {String} spawn.sync result
*/
spawnCommand.spawnCommandSync = (command, args, opt) => {
spawnCommand.spawnCommandSync = function (command, args, opt) {
return spawn.sync(command, args, {
stdio: 'inherit',
cwd: this.destinationRoot(),
Expand Down

0 comments on commit 310f72d

Please sign in to comment.