Task dependent on input existence #1453
Unanswered
xenobytezero
asked this question in
Q&A
Replies: 1 comment
-
We don't support this. The inputs are only used for affected detection. If you're trying to just check if a file exists in a project before running, you can probably wrap the eslint command in a tiny bash script. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to have my ESLint command at the top level
tasks.yml
, but running the task requires the presence of an.eslintrc.cjs
file in the project.Is it possible to have a task only run if an input is present? Otherwise I would have to have a
moon.yaml
in every project and use the tag systemBeta Was this translation helpful? Give feedback.
All reactions