mirror of
https://github.com/vapor/toolbox.git
synced 2025-04-20 14:11:03 +08:00
name updates
This commit is contained in:
parent
ac6c72a69e
commit
9f157b83f0
@ -311,7 +311,7 @@ extension Seed.Exclusion {
|
||||
|
||||
struct Seed: Content {
|
||||
let name: String
|
||||
let excluding: [Exclusion]
|
||||
let excludes: [Exclusion]
|
||||
let questions: [Question]
|
||||
}
|
||||
|
||||
@ -409,7 +409,7 @@ struct LeafRenderFolder: Command {
|
||||
let all = try FileManager.default.allFiles(at: path)
|
||||
let config = LeafConfig(tags: .default(), viewsDir: path, shouldCache: false)
|
||||
let renderer = LeafRenderer(config: config, using: ctx.container)
|
||||
let paths = all.filter { !seed.excluding.shouldExclude(path: $0) }
|
||||
let paths = all.filter { !seed.excludes.shouldExclude(path: $0) }
|
||||
|
||||
// // TODO: TURN ALL PATHS INTO [PATH: PROCESSED CONTENTS]
|
||||
// var views: [Future<View>] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user