Remove protobuf stdlib module (#1976)
This commit is contained in:
1 parent
155fc5a867
commit
2d7a368b48
25 files changed
+4
-1567
No files matched your search
+1
-4
@@ -26,7 +26,6 @@ import "pkl:math"
|
||||
import "pkl:net"
|
||||
import "pkl:pklbinary"
|
||||
// noinspection Deprecated
|
||||
import "pkl:protobuf"
|
||||
import "pkl:xml"
|
||||
import "pkl:yaml"
|
||||
|
||||
@@ -116,8 +115,6 @@ abstract external class Module {
|
||||
new PListRenderer {}
|
||||
else if (format == "properties")
|
||||
new PropertiesRenderer {}
|
||||
else if (format == "textproto")
|
||||
new protobuf.Renderer {}
|
||||
else if (format == "xml")
|
||||
new xml.Renderer {}
|
||||
else if (format == "yaml")
|
||||
@@ -126,7 +123,7 @@ abstract external class Module {
|
||||
new pklbinary.Renderer {}
|
||||
else
|
||||
throw(
|
||||
"Unknown output format: `\(format)`. Supported formats are `json`, `jsonnet`, `pcf`, `plist`, `properties`, `textproto`, `xml`, `yaml`, `pkl-binary`."
|
||||
"Unknown output format: `\(format)`. Supported formats are `json`, `jsonnet`, `pcf`, `plist`, `properties`, `xml`, `yaml`, `pkl-binary`."
|
||||
)
|
||||
text =
|
||||
if (renderer is ValueRenderer)
|
||||
|
||||
Reference in new issue
Block a user