From 87f5ce38d8fe74f4f645462fc631f0c6b2245863 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 1 Sep 2020 13:05:05 -0700 Subject: [PATCH] End CACHEDIR.TAG with newline --- src/cargo/util/paths.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cargo/util/paths.rs b/src/cargo/util/paths.rs index 84ba851eec5..b8b217813b9 100644 --- a/src/cargo/util/paths.rs +++ b/src/cargo/util/paths.rs @@ -515,7 +515,8 @@ fn exclude_from_backups(path: &Path) { path.join("CACHEDIR.TAG"), "Signature: 8a477f597d28d172789f06886806bc55 # This file is a cache directory tag created by cargo. -# For information about cache directory tags see https://bford.info/cachedir/", +# For information about cache directory tags see https://bford.info/cachedir/ +", ); // Similarly to exclude_from_time_machine() we ignore errors here as it's an optional feature. }