statik
statik copied to clipboard
fix force option behavior
Currently, the force flag is effective only when os.Rename fails. That is, if os.Rename succeeds, statik will overwrite the file regardless of the force flag.
Is this the intended behavior? As I feel it is not intuitive, I fix it.