Сравнить коммиты

...

1 коммит
v1.3.0 ... main

Автор SHA1 Сообщение Дата
Softonik
6087fc101c AST: файл Magefile.go пропускается при поиске имени пакета
Некоторые проверки провалились
test / test (1.16.x) (push) Has been cancelled
test / test (1.17.x) (push) Has been cancelled
test / test (oldstable) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
2025-06-06 17:06:26 +03:00

Просмотреть файл

@ -24,7 +24,9 @@ func получитьИмяGoПакетаВЭтойДире() (pkg_name string,
return err
}
if !info.IsDir() && filepath.Ext(path) == ".go" {
if !info.IsDir() &&
filepath.Ext(path) == ".go" &&
info.Name() != "Magefile.go" {
pkg, err := lib.ПолучитьИмяGoПакетаФайла(path)
if err != nil {
return err