statik icon indicating copy to clipboard operation
statik copied to clipboard

fix force option behavior

Open Songmu opened this issue 6 years ago • 0 comments

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.

Songmu avatar Mar 23 '19 18:03 Songmu