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:
[email protected]


With regards,
Apache Git Services

Reply via email to