Browse Source
prefer tye yaml always (#955)
darc-main-e5ea0866-8be1-4711-8688-8fd9b7dae18a
Justin Kotalik
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/Microsoft.Tye.Core/ConfigModel/ConfigFactory.cs
|
|
|
@ -22,13 +22,13 @@ namespace Microsoft.Tye.ConfigModel |
|
|
|
{ |
|
|
|
case ".yaml": |
|
|
|
case ".yml": |
|
|
|
if (fileName.StartsWith("tye", StringComparison.OrdinalIgnoreCase)) |
|
|
|
if (fileName.Contains("docker-compose", StringComparison.OrdinalIgnoreCase)) |
|
|
|
{ |
|
|
|
return FromTyeYaml(file); |
|
|
|
return FromDockerComposeYaml(file); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
return FromDockerComposeYaml(file); |
|
|
|
return FromTyeYaml(file); |
|
|
|
} |
|
|
|
|
|
|
|
case ".csproj": |
|
|
|
|