Skip to content

How to disable reading from config files #3310

Closed Answered by keith-hall
kelleyma49 asked this question in Q&A
Discussion options

You must be logged in to vote

bats man page documents a --no-config option which should do the trick.
Alternatively, as --force-colorization is an alias for --decorations=always --color=always, specifying them individually allows them to override previous values from config without conflicting. (Unless the user has that in their config, I guess. I wonder if it shouldn't be an error, and just expand out as if the full version of the cli arguments were used)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kelleyma49
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants