pahen / madge

Create graphs from your CommonJS, AMD or ES6 module dependencies
MIT License
8.71k stars 312 forks source link

fix output.sh syntax #390

Open PabloLION opened 8 months ago

PabloLION commented 8 months ago
function desc() {
    echo "\033[01;38;5;022m############### $1 ###############\033[0m";
}

the "function" builtin exists in bash, so it need to parsing as posix in test/output.sh

$ type function function is a reserved word