Remove 'overwrite' switch in DocumentationTests

This commit is contained in:
JP Simard
2017-09-09 15:17:18 -07:00
parent 660ea7c9b6
commit de2220cc4d
@@ -24,8 +24,8 @@ class DocumentationTests: XCTestCase {
XCTAssertEqual(existingDocs, updatedDocs)
let overwrite = false // set this to true to overwrite existing docs with the generated ones
if existingDocs != updatedDocs && overwrite {
if existingDocs != updatedDocs {
// Overwrite Rules.md with latest version
try updatedDocs.data(using: .utf8)?.write(to: URL(fileURLWithPath: docsPath))
}
}