Skip to content

Commit

Permalink
Merge pull request #16 from bannzai/fix/generated_file_name
Browse files Browse the repository at this point in the history
🤘 fix decided file name
  • Loading branch information
bannzai authored Jan 17, 2018
2 parents c1c12d9 + fd98b3a commit b7fc738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KuriCore/Command/Generator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fileprivate extension Generator {
let targetName = yamlReader.targetName(for: typeFor)
let projectFilePath = projectRootPath + projectFileName + "/"
let generatingDirectoryPath = generateRootPath + component.makeGeneratingDirectoryPath(prefix: prefix, targetName: targetName).joined(separator: "/") + "/"
let filePath = (generatingDirectoryPath + prefix + component.templateFileName).replaceEnvironmentText(prefix: prefix, targetName: targetName)
let filePath = (generatingDirectoryPath + component.templateFileName).replaceEnvironmentText(prefix: prefix, targetName: targetName)

let project: XcodeProject
if let alreadyExistsProject = pathAndXcodeProject[projectFilePath] {
Expand Down

0 comments on commit b7fc738

Please sign in to comment.