These changes introduce a new field, `Raw`, to `diag.Message`. This field indicates that the contents of the message are not a format string and should not be rendered via `Sprintf` during stringification. The plugin std{out,err} readers have been updated to use raw messages, and the event reader in `pulumi` has been fixed s.t. it does not format event payloads before display. Fixes #551.
4 lines
181 B
TypeScript
4 lines
181 B
TypeScript
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
console.log("Here's some format goo: %s, %v, %q, %d!");
|
|
console.error("Here's some format goo: %s, %v, %q, %d!");
|