pulumi/examples/formattable/index.ts
Pat Gavlin 234f0816e5 Stop formatting output that should be raw.
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.
2017-11-14 11:26:41 -08:00

5 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!");