Skip to content

Commit cb1bf35

Browse files
committed
Update comment
1 parent 05ed07d commit cb1bf35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/gatsby-source-contentful/src/extend-node-type.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ const resolveResponsiveResolution = (image, options) => {
133133
desiredAspectRatio = options.width / options.height
134134
}
135135

136-
// If the user selected a height (so cropping) and options for focus
137-
// and fit aren't set, we'll set our defaults
136+
// If the user selected a height (so cropping) and fit option
137+
// is not set, we'll set our defaults
138138
if (options.height) {
139139
if (!options.resizingBehavior) {
140140
options.resizingBehavior = `fill`
@@ -294,8 +294,8 @@ const resolveResize = (image, options) =>
294294

295295
getBase64ImageAndBasicMeasurements(image, options).then(
296296
({ contentType, base64Str, width, height, aspectRatio }) => {
297-
// If the user selected a height (so cropping) and options for focus
298-
// and fit aren't set, we'll set our defaults
297+
// If the user selected a height (so cropping) and fit option
298+
// is not set, we'll set our defaults
299299
if (options.height) {
300300
if (!options.resizingBehavior) {
301301
options.resizingBehavior = `fill`

0 commit comments

Comments
 (0)