set less.hasFinished to refresh() promise

fix white space