fix: форматирование lint_archive.go
This commit is contained in:
@@ -206,10 +206,10 @@ func (s *Server) handleLintArchive(w http.ResponseWriter, r *http.Request) {
|
|||||||
langExt := map[string]string{
|
langExt := map[string]string{
|
||||||
"python": ".py", "python3": ".py",
|
"python": ".py", "python3": ".py",
|
||||||
"node.js": ".js", "nodejs": ".js", "javascript": ".js", "node": ".js",
|
"node.js": ".js", "nodejs": ".js", "javascript": ".js", "node": ".js",
|
||||||
"ruby": ".rb",
|
"ruby": ".rb",
|
||||||
"php": ".php",
|
"php": ".php",
|
||||||
"go": ".go",
|
"go": ".go",
|
||||||
"perl": ".pl",
|
"perl": ".pl",
|
||||||
}
|
}
|
||||||
expectedExt, known := langExt[selectedLang]
|
expectedExt, known := langExt[selectedLang]
|
||||||
if known {
|
if known {
|
||||||
|
|||||||
Reference in New Issue
Block a user