respond to review
This commit is contained in:
parent
38ff786a7d
commit
da34d12abb
3 changed files with 3 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// TODO(adonovan): rename to package codespaces, and codespaces.Client?
|
||||
// TODO(adonovan): rename to package codespaces, and codespaces.Client.
|
||||
package api
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
package main
|
||||
|
||||
// TODO(adonovan): write 'help' commands, in manner of the 'go' tool.
|
||||
// Document GITHUB_TOKEN.
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@ func ports(opts *portsOptions) error {
|
|||
|
||||
devContainerResult := <-devContainerCh
|
||||
if devContainerResult.err != nil {
|
||||
_, _ = log.Errorf("Failed to get port names: %v\n", devContainerResult.err.Error())
|
||||
// TODO(adonovan): should this cause non-zero exit?
|
||||
// Warn about failure to read the devcontainer file. Not a ghcs command error.
|
||||
log.Errorf("Failed to get port names: %v\n", devContainerResult.err.Error())
|
||||
}
|
||||
|
||||
table := output.NewTable(os.Stdout, opts.asJSON)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue