File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ /* eslint-disable max-lines */
1
2
import { EOL } from 'os'
2
3
import path from 'path'
3
4
import process from 'process'
@@ -76,8 +77,11 @@ export async function checkConfig({ utils, netlifyConfig }): Promise<void> {
76
77
77
78
if ( hasPlugin ( gatsbyConfig . plugins , 'gatsby-plugin-netlify' ) ) {
78
79
if (
79
- // prettier-ignore
80
- ! ( await checkPackageVersion ( gatsbyRoot , 'gatsby-plugin-netlify' , '>=4.2.0' , ) )
80
+ ! ( await checkPackageVersion (
81
+ gatsbyRoot ,
82
+ 'gatsby-plugin-netlify' ,
83
+ '>=4.2.0' ,
84
+ ) )
81
85
) {
82
86
console . error (
83
87
'The plugin `gatsby-plugin-netlify` does not support DSG, please update to >=4.2.0' ,
@@ -173,3 +177,4 @@ export function shouldSkipFunctions(cacheDir: string): boolean {
173
177
export function getGatsbyRoot ( publish : string ) : string {
174
178
return path . resolve ( path . dirname ( publish ) )
175
179
}
180
+ /* eslint-enable max-lines */
You can’t perform that action at this time.
0 commit comments