diff --git a/hasaki-gen-crud/hasaki-gen-crud.js b/hasaki-gen-crud/hasaki-gen-crud.js index 9bb23c9..6abcc60 100644 --- a/hasaki-gen-crud/hasaki-gen-crud.js +++ b/hasaki-gen-crud/hasaki-gen-crud.js @@ -80,11 +80,11 @@ try { prefix = prefix.replace(" ", " ") } + let rearr = prefix.toLocaleLowerCase().split(" "); let underscore_naming = rearr.join("_"); let lowercase_first_letter = ""; let capitalize_the_first_letter = ""; - let rearr = prefix.toLocaleLowerCase().split(" "); for (var i = 0; i < rearr.length; i++) { let tmp = rearr[i].split(""); tmp[0] = tmp[0].toLocaleUpperCase();