mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 10:19:07 +00:00
Enable Dockerfile detection
This commit is contained in:
@@ -24,7 +24,7 @@ public sealed class DockerfileDetector : IFormatDetector
|
||||
{
|
||||
public string Name => "Dockerfile";
|
||||
|
||||
public string Extension => null;
|
||||
public string Extension => ".sh";
|
||||
|
||||
public bool Detect(string path, string text)
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ public class FormatDetector
|
||||
new MakefileDetector(),
|
||||
new CMakeListsDetector(),
|
||||
//new HostsDetector(),
|
||||
//new DockerfileDetector(),
|
||||
new DockerfileDetector(),
|
||||
];
|
||||
|
||||
public static IFormatDetector Confuse(string path, string text)
|
||||
|
Reference in New Issue
Block a user