Skip to content

Commit afc9079

Browse files
rickardsjpNexucis
andauthored
Address PR feedback
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
1 parent 881f2b5 commit afc9079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/golangci-lint/golangci-lint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func main() {
2525
var isError bool
2626

2727
for _, workspace := range npm.MustGetWorkspaces(".") {
28-
schemasPath := workspace + "/schemas"
28+
schemasPath := filepath.Join(workspace,"schemas")
2929
if _, err := os.Stat(schemasPath); os.IsNotExist(err) {
3030
// No schemas, skip go validation
3131
logrus.Infof("skipping golangci-lint for %s (no schemas)", workspace)

0 commit comments

Comments
 (0)