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

Commit 259d6b36 by Mick Hansen

Merge pull request #1480 from overlookmotel/include-all-improvement

include all improvement
2 parents 7032288e ea09cb26
Showing with 1 additions and 0 deletions
...@@ -1593,6 +1593,7 @@ module.exports = (function() { ...@@ -1593,6 +1593,7 @@ module.exports = (function() {
// run recursively if nested // run recursively if nested
if (nested) { if (nested) {
addAllIncludes(model, thisInclude.include) addAllIncludes(model, thisInclude.include)
if (thisInclude.include.length == 0) delete thisInclude.include
} }
}) })
used.pop() used.pop()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!