Commit 4141cc44 authored by Drew's avatar Drew

Version field is now optional

Swift optionals exist for a reason; to model the case where we don't have a value.

Atbuild now cares about not having a value here, therefore let's model it correctly.
parent 257dd128
Pipeline #1843 passed with stage
......@@ -104,7 +104,7 @@ final public class Package {
public var name: String
// The optional properties. All optional properties must have a default value.
public var version: String = ""
public var version: String? = nil
/**The tasks for the package. For tasks in this package, they are indexed
both by qualified and unqualified name. For tasks in another package, they
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment