respond to review

This commit is contained in:
Alan Donovan 2021-08-27 15:26:34 -04:00
parent 38ff786a7d
commit da34d12abb
3 changed files with 3 additions and 6 deletions

View file

@ -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 (

View file

@ -1,8 +1,5 @@
package main
// TODO(adonovan): write 'help' commands, in manner of the 'go' tool.
// Document GITHUB_TOKEN.
import (
"errors"
"fmt"

View file

@ -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)