Skip to content

Commit

Permalink
fix: When the m2kignore file is removed from language_platforms.zip t…
Browse files Browse the repository at this point in the history
…hen in the UI only the Ruby service is detected #1160

Signed-off-by: Akash Nayak <akash19nayak@gmail.com>
  • Loading branch information
Akash-Nayak authored Mar 21, 2024
1 parent 03e702f commit e53812c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (t *RubyDockerfileGenerator) GetConfig() (transformertypes.Transformer, *en

// DirectoryDetect runs detect in each sub directory
func (t *RubyDockerfileGenerator) DirectoryDetect(dir string) (map[string][]transformertypes.Artifact, error) {
gemfilePaths, err := common.GetFilesByName(dir, []string{"Gemfile"}, nil)
gemfilePaths, err := common.GetFilesInCurrentDirectory(dir, []string{"Gemfile"}, nil)
if err != nil {
return nil, fmt.Errorf("failed to look for Gemfiles in the dir %s . Error: %q", dir, err)
}
Expand Down

0 comments on commit e53812c

Please sign in to comment.