change file name to full path
This commit is contained in:
parent
7be069e965
commit
052cddc48e
1 changed files with 1 additions and 8 deletions
|
|
@ -33,14 +33,7 @@ impl Peekable for LastBuildFirmware {
|
||||||
|
|
||||||
for file2 in ar.entries().unwrap() {
|
for file2 in ar.entries().unwrap() {
|
||||||
let f = file2.unwrap();
|
let f = file2.unwrap();
|
||||||
peeked.push(
|
peeked.push(f.path().unwrap().as_os_str().to_string_lossy().to_string());
|
||||||
f.path()
|
|
||||||
.unwrap()
|
|
||||||
.file_name()
|
|
||||||
.unwrap()
|
|
||||||
.to_string_lossy()
|
|
||||||
.to_string(),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(peeked)
|
Ok(peeked)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue