Skip to content

Commit 9269636

Browse files
authored
Update InitialView.tsx
1 parent 0090549 commit 9269636

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/graphql-playground-electron/src/InitialView/InitialView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ class InitialView extends React.Component<
8989
// Check if there is a .graphqlconfig file in the folder
9090
if (
9191
!existsSync(resolve(path, '.graphqlconfig')) &&
92+
!existsSync(resolve(path, '.graphqlconfig.yml')) &&
9293
!existsSync(resolve(path, '.graphqlconfig.yaml'))
9394
) {
94-
alert('No .graphqlconfig (or .graphqlconfig.yaml) found in this folder')
95+
alert('No .graphqlconfig found in this folder')
9596
return
9697
}
9798
this.props.selectHistory({

0 commit comments

Comments
 (0)