Check whether all working tree changes are whitespace-only.
true if all changes are whitespace-only
true
if (await git.hasOnlyWhitespaceChanges()) { console.log("Only formatting changes detected")} Copy
if (await git.hasOnlyWhitespaceChanges()) { console.log("Only formatting changes detected")}
hasOnlyEOLChanges
0.2.0
Check whether all working tree changes are whitespace-only.