Coder Social home page Coder Social logo

Comments (3)

sebastianfeldmann avatar sebastianfeldmann commented on August 30, 2024 1

You can add this to your config section

{
    "config": {
        "verbosity": "debug"
    },
    ...
}

Then you should get some more information about what is going on.
The path is always relative from the git root since this it what git returns when I ask it for the changed files.

The pass not being correct is most of the time caused by some docker directory mapping. You can fix the mapping by changing the directory in your container. You can use WORKDIR "/XYZ" in your Docker file to fix it.

There is currently no other way then extending, but you are more then welcome to add a path-prefix option to the LintingAction and open a pull request ;)

from captainhook.

aruku avatar aruku commented on August 30, 2024 1

Yes, it was problem with the way the directories are mounted in the container: project/app -> /workspace, project/.git -> /workspace/.git.
I ended up using a silly symlink because I don't have the time to modify all the built-in and CLI actions I'm using.

from captainhook.

aruku avatar aruku commented on August 30, 2024

I think the problem may be in the path that is being passed to the action, because using replace in a CLI action that was failing too solved it.
Is extending the built-in action the only way to alter this path?

from captainhook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.