Skip to content

Commit 7494c3f

Browse files
committed
fmt
Signed-off-by: Aminu 'Seun Joshua <[email protected]>
1 parent 3d4ea43 commit 7494c3f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/runtime.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,12 @@ impl Runtime {
117117
// Host path is the absolute path to the file
118118
let host_path = self.manifest.absolute_from(host_path);
119119
// If the file among list of files to be excluded, skip it
120-
if self.manifest.component().exclude_files.contains(&host_path.to_string_lossy().to_string()) {
120+
if self
121+
.manifest
122+
.component()
123+
.exclude_files
124+
.contains(&host_path.to_string_lossy().to_string())
125+
{
121126
continue;
122127
}
123128
// Only add files
@@ -145,7 +150,12 @@ impl Runtime {
145150
);
146151
let host_path = self.manifest.absolute_from(source);
147152
// If the file among list of files to be excluded, skip it
148-
if self.manifest.component().exclude_files.contains(&host_path.to_string_lossy().to_string()) {
153+
if self
154+
.manifest
155+
.component()
156+
.exclude_files
157+
.contains(&host_path.to_string_lossy().to_string())
158+
{
149159
continue;
150160
}
151161

0 commit comments

Comments
 (0)