(ctx context.Context, flags map[string]string)
| 111 | } |
| 112 | |
| 113 | func defaultResolveAppID(ctx context.Context, flags map[string]string) string { |
| 114 | workDir, err := os.Getwd() |
| 115 | if err != nil { |
| 116 | return "" |
| 117 | } |
| 118 | return resolveAppIDIn(ctx, flags, workDir) |
| 119 | } |
| 120 | |
| 121 | // Split from defaultResolveAppID so tests can pass a t.TempDir() instead |
| 122 | // of mutating process state via t.Chdir. |
nothing calls this directly
no test coverage detected