Git Product home page Git Product logo

Comments (2)

gavinlyonsrepo avatar gavinlyonsrepo commented on June 4, 2024

HI

Yes that's correct. that's a typo, I should have spotted that as shellcheck flags it as an issue(SC2154) and I always run shellcheck on scripts before i use/publish them.
The stopwatch function still works , that "if statement" is only there to catch a user error: if they run "stopWatch" before they run "startWatch". and return error code 2.

thanks

from bashmultitool.

rayiik avatar rayiik commented on June 4, 2024

hey no worries i just wasn't sure if there was some convention i didn't know about, i only noticed it because I'm building a bash snippet manager / command line IDE and that and i happened to be doing it in vs code and it point it out to me. I've only been programming 6 months and exclusively in bash so far and its got some jacked up exceptions (like I've seen code that's set up to intentionally fail which still doesn't make sense to me).

from bashmultitool.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.