Skip to content

Codacy analyser creating copy of files that interfere with language analyser #123

Description

@rafaelsierra

When using Codacy in conjunction with Go extension, Codacy will cause duplication errors to be detected by Go because it is creating a file named <timestamp>-<filename> while analysing.

Example:
Image

This is likely the issue:

pathToFile = path.join(filePath, `${Date.now().valueOf().toString()}-${fileName}`)

Would it possible to create this file inside a temp folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions