pulumi/pkg/util/cmdutil
Chris Smith 8de307b876
1-index error messages printed to the console (#1709)
The `range` operator  returns array indexes that are 0-indexed. This is helpful when working with the computer code, but since we print the error to humans it looks really strange.

e.g. 
```
error: 7 errors occurred:
    0) resource 'urn:pulumi:timer-ex::timer::pulumi:pulumi:Stack::timer-timer-ex' is from a different stack (timer-ex != timer-import)
    1) resource 'urn:pulumi:timer-ex::timer:☁️timer:Timer::test-timer' is from a different stack (timer-ex != timer-import)
    ...
```
2018-08-06 11:58:06 -07:00
..
args.go Add license headers 2018-05-22 15:02:47 -07:00
child.go Add license headers 2018-05-22 15:02:47 -07:00
child_windows.go Add license headers 2018-05-22 15:02:47 -07:00
console.go Tidy up the login message and colors 2018-06-12 07:52:22 -07:00
console_password.go Tidy up the login message and colors 2018-06-12 07:52:22 -07:00
console_password_windows.go Tidy up the login message and colors 2018-06-12 07:52:22 -07:00
diag.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
exit.go 1-index error messages printed to the console (#1709) 2018-08-06 11:58:06 -07:00
profile.go Add license headers 2018-05-22 15:02:47 -07:00
spinner.go Add license headers 2018-05-22 15:02:47 -07:00
trace.go Add license headers 2018-05-22 15:02:47 -07:00