Skip to content

Commit

Permalink
Merge pull request #7 from mackoj/feat/disableArgumentName
Browse files Browse the repository at this point in the history
Improve errors
  • Loading branch information
mackoj authored Oct 22, 2022
2 parents 651e640 + 4be788e commit 89cce7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/SchemeGeneratorPlugin/SchemeGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public struct SchemeGenerator {

private static func createDefaultConfiguration(_ configurationFileURL: FileURL) {
if FileManager.default.fileExists(atPath: configurationFileURL.path) == false {
Diagnostics.emit(.error, "Please add a configuration file at \(configurationFileURL.path)(example: https://github.com/mackoj/SchemeGeneratorPlugin/blob/main/schemeGenerator.json).")
Diagnostics.emit(.error, "We will generate a default one for you but you will need to set the schemesDirectory.")
Diagnostics.emit(.error, "Missing a configuration file at \(configurationFileURL.path)(example: https://github.com/mackoj/SchemeGeneratorPlugin/blob/main/schemeGenerator.json).")
Diagnostics.emit(.error, "We will generate a default one for you but you will need to set it schemesDirectory value.")
var defaultConf: Data!
do {
let encoder = JSONEncoder()
Expand Down

0 comments on commit 89cce7c

Please sign in to comment.