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

Silly(?) suggestion #64

Closed
Sherulez opened this issue Feb 4, 2020 · 0 comments · Fixed by #66
Closed

Silly(?) suggestion #64

Sherulez opened this issue Feb 4, 2020 · 0 comments · Fixed by #66

Comments

@Sherulez
Copy link

Sherulez commented Feb 4, 2020

Just a suggestion for better visibility and a few lines less. (not tested in real installation conditions)

function print_step() {
    STEP=$1
    echo ""
    echo -e "${LIGHT_BLUE}# $STEP step${NC}"
    echo ""
}

function partition() {
    print_step ${FUNCNAME[0]}
....
}

function format() {
    print_step ${FUNCNAME[0]}
...
}

${FUNCNAME[0]} remove the brackets, print_step "partition()" work too

picodotdev added a commit that referenced this issue Feb 17, 2020
Fixes #64
Fixes #65
@picodotdev picodotdev mentioned this issue Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants