     public func updateScript(withName scriptName: String, format: Format, targetName: String?, projectNames: [String]) throws {
         let projectPaths = try self.projectPaths(inDirectory: projectDirectoryPath, filterNames: projectNames)
         guard projectPaths.count > 0 else {
-            throw Error.nothingToUpdate
+            print(Constants.nothingToUpdate)
+            return
         }
         for path in projectPaths {
             try updateScript(withName: scriptName, format: format, targetName: targetName, projectPath: path)

            try xcodeproj.write(pathString: projectPath, override: true)
        }
        else if !filelistsWereUpdated {
            throw Error.nothingToUpdate
        }
    }


    enum Error: Swift.Error {
        case projectFileReadingFailed
        case targetFilterFailed(name: String)
        case noTargets(name: String?)
    }

    private enum Constants {
        static let projectExtension = "xcodeproj"
        static let carthageScript = "/usr/local/bin/carthage copy-frameworks"
        static let nothingToUpdate = "🤷‍♂️ Nothing to update."
    }

    public let projectDirectoryPath: String?
