Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Merge #44
Browse files Browse the repository at this point in the history
44: fix typo #43 r=CAD97 a=CAD97

bors: r+

Co-authored-by: Christopher Durham <[email protected]>
  • Loading branch information
bors[bot] and CAD97 committed Nov 11, 2018
2 parents f2251c2 + 3922e4a commit 27cbfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fn ghp_upload(branch: &str, origin: &str, args: &Args) -> Result<()> {
let dir = entry?;
// Clean the directory, as we'll be copying new files
// Ignore index.html as requested for redirect page
if args.clobber_index || dir.file_name() != OsString::from("index.hmtl") {
if args.clobber_index || dir.file_name() != OsString::from("index.html") {
let path = dir.path();
fs::remove_dir_all(&path).ok();
fs::remove_file(path).ok();
Expand Down

0 comments on commit 27cbfc0

Please sign in to comment.