Skip to content

Commit 7a9d725

Browse files
committed
Use DEFAULT_VERSION constant
1 parent f5dca65 commit 7a9d725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/java/com/yelp/codegen/plugin/CodegenPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ open class GenerateTask : DefaultTask() {
130130
version
131131
}
132132
else -> {
133-
println("Issue in reading version from Swagger Spec file. Falling back to 0.0.0")
134-
"0.0.0"
133+
println("Issue in reading version from Swagger Spec file. Falling back to $DEFAULT_VERSION")
134+
DEFAULT_VERSION
135135
}
136136
}
137137
}

0 commit comments

Comments
 (0)