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

Commit

Permalink
fix typo #43
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 authored Nov 11, 2018
1 parent f2251c2 commit 3922e4a
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 3922e4a

Please sign in to comment.