mirror of https://github.com/pulumi/pulumi.git
8de307b876
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)
...
```
|
||
---|---|---|
.. | ||
args.go | ||
child.go | ||
child_windows.go | ||
console.go | ||
console_password.go | ||
console_password_windows.go | ||
diag.go | ||
exit.go | ||
profile.go | ||
spinner.go | ||
trace.go |