You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/28 17:52:22 UTC

[GitHub] dubeejw closed pull request #181: Common not using the path set when calling the CLI.

dubeejw closed pull request #181: Common not using the path set when calling the CLI.
URL: https://github.com/apache/incubator-openwhisk-cli/pull/181
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/src/integration/common/wsk.go b/tests/src/integration/common/wsk.go
index d0323c3c..08b025ea 100644
--- a/tests/src/integration/common/wsk.go
+++ b/tests/src/integration/common/wsk.go
@@ -60,7 +60,7 @@ func (wsk *Wsk)Exists() bool {
 func (wsk *Wsk)RunCommand(s ...string) ([]byte, error) {
     cs := wsk.Arg
     cs = append(cs, s...)
-    command := exec.Command(wsk.Path, cs...)
+    command := exec.Command(wsk.Dir + "/" + wsk.Path, cs...)
     command.Dir = wsk.Dir
     return command.CombinedOutput()
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services