Skip to content

Commit ddfa93a

Browse files
committed
Merge
2 parents adf3e3e + 460d7c5 commit ddfa93a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gatsby-node.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ exports.sourceNodes = async (api, pluginOptions) => {
2626
A GCP JSON token file is required to authenticate with the GCP storage API
2727
2828
`)
29+
30+
return
2931
}
3032

3133
if(!gcpBucketName) {
@@ -36,6 +38,8 @@ exports.sourceNodes = async (api, pluginOptions) => {
3638
The GCP storage bucket name is required
3739
3840
`)
41+
42+
return
3943
}
4044

4145
const storage = new Storage({keyFilename: gcpTokenFile})

0 commit comments

Comments
 (0)