Closed pep-sanwer closed 8 months ago
Patched locally via an executable bash
script like below:
#!/bin/bash
modified_args=()
for arg in "$@"; do
if [ "$arg" != "--force" ]; then
modified_args+=("$arg")
fi
done
sqlfluff "${modified_args[@]}"
and feeding this script to the extension by pointing sqlfluff.executablePath
to it
Absolutely needs the PR to be merged asap. This is pretty breaking rn.
@pep-sanwer @levelupatlas-mat I have released v3.0.0, which should fix this issue
Lovely, working great now. Thanks for the quick release!
After upgrade to
sqlfulff 3.0
, I am seeing the following behavior with Settings:Sqlfluff > Format: Enabled
set to true:The line:
is inserted at the top of the file on format.
Based on the extension documentation I am assuming this is a consequence of the extension utilizing
sqlfluff fix --force <path>
on format, where--force
is deprecated as ofsqlfulff 3.0