Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bash error in usage example on README page #943

Merged
merged 2 commits into from Feb 15, 2020

Commits on Jan 13, 2020

  1. Fix bash error in usage example on README page

    On Linux bash terminal, executing
    `echo "console.log('Hello, world!')"`
    gives the following error:
    `bash: !': event not found`
    
    To fix the issue, changing the log string from
    `Hello, world!` to `Hello, world`
    
    Tested on following systems:
    * Ubuntu 18.04.3 LTS
    * Linux Mint 19
    abraj committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    d53ab0c View commit details
    Browse the repository at this point in the history
  2. Switching the quotes to keep the exclamation mark

    Switching the quotes around in the line
    `echo "console.log('Hello, world!')" | ts-node`
    to get the line as
    `echo 'console.log("Hello, world!")' | ts-node`
    in order to keep the exclamation mark, while also
    avoiding the bash error at the same time.
    abraj committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    a15c795 View commit details
    Browse the repository at this point in the history