Fixes #4615 The root cause is the output doc from graphql printer does not match the desired input from `stripTrailingHardline`. a9b21a01e2/src/doc/doc-utils.js (L167-L180)
a9b21a01e2/src/doc/doc-utils.js (L167-L180)