Remove ads in alejandra

This commit is contained in:
SebastianStork 2024-03-26 22:06:11 +01:00
parent 62aaed782f
commit 180b2ed1a2

View file

@ -51,6 +51,8 @@
--replace '2 * build_ctx.indentation' '4 * build_ctx.indentation' --replace '2 * build_ctx.indentation' '4 * build_ctx.indentation'
substituteInPlace src/alejandra/src/rules/string.rs \ substituteInPlace src/alejandra/src/rules/string.rs \
--replace 'format!(" {}", line)' 'format!(" {}", line)' --replace 'format!(" {}", line)' 'format!(" {}", line)'
substituteInPlace src/alejandra_cli/src/cli.rs \
--replace 'eprint!("{}", random_ad());' ""
rm -r src/alejandra/tests rm -r src/alejandra/tests
''; '';
}; };