resolveSecretsFile method
The client's build-time secrets: .secrets_test for test builds when
it exists, otherwise .secrets. Null when the client has none.
Implementation
File? resolveSecretsFile(String client, {bool isTest = false}) {
final dir = p.join(clientsDir.path, client);
for (final name in [if (isTest) '.secrets_test', '.secrets']) {
final f = File(p.join(dir, name));
if (f.existsSync()) return f;
}
return null;
}