Skip to content

Commit

Permalink
add comment to explain 0.1 parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefHaggyHeroku committed Jul 29, 2021
1 parent c2f95fd commit 715bfa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func ReadProjectDescriptor(pathToFile string) (common.Descriptor, error) {
var schema common.ProjectDescriptorSchema
var ok bool
if versionDescriptor.Project.Version == "" {
// _.schema-version does not exist in 0.1
schema = supportedSchemas["0.1"]
} else {
if _, err := api.NewVersion(versionDescriptor.Project.Version); err != nil {
Expand Down

0 comments on commit 715bfa2

Please sign in to comment.