Mark Smith

Results 20 comments of Mark Smith

Setting only the e option fails, setting only the o option completes.

@ljharb I will run it again with -x when I get a chance - having a few laptop issues today - the short minimal example script is in the original...

Oh my days, what a can of worms, thanks for the link.

Thanks, here's the [gist with set -x output](https://gist.github.com/mjgs/4c66bfd9c3087d0bb0d4e025b85ab914)

Is there some other info that would be helpful? The bash version is: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)

It completes successfully: ``` /tmp $ cat nvm-test.sh #!/usr/bin/env bash set -e; set -x [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use /tmp $ ./nvm-test.sh +(nvm-test.sh:4): '[' -s /Users/marksmith/.nvm/nvm.sh ']'...

Yes - however I'm not sure how this has any effect on the issue I am having...using --no-use in my original test script, the `nvm install stable` command still hangs.

Just to clarify, this script completes successfully: ``` #!/usr/bin/env bash set -e; set -x [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use nvm use stable ``` Could you clarify what...

@dougmoscrop Thanks for the reply and code snippet idea. I really appreciate it. So if I’m understanding correctly serverless-http just requires a handler function, and your idea is to basically...

Great advice thank you. Do I end up loosing anything by extracting just the handle method? I’m thinking [specifically about https](https://github.com/baalexander/node-xmlrpc/blob/d9c88c4185e16637ed5a22c1b91c80e958e8d69e/lib/server.js#L62), but maybe there’s something else. Btw it will be...