不要怂,就是干,撸起袖子干!

Commit 26ea94e0 by Sascha Depold

removed trailing s

1 parent d27e79fa
Showing with 1 additions and 1 deletions
...@@ -22,7 +22,7 @@ SequelizeHelper = { ...@@ -22,7 +22,7 @@ SequelizeHelper = {
}, },
addPrefix: function(prefix, string) { addPrefix: function(prefix, string) {
return prefix + string[0].toUpperCase() + string.replace(/^./, "") return prefix + string[0].toUpperCase() + string.replace(/^./, "").replace(/s$/, "")
}, },
asTableName: function(name) { asTableName: function(name) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!