Skip to content

Commit a67320b

Browse files
author
ctinney
committed
Merge branch 'dataset-disable-cache' of github.com:cdtinney/autocomplete.js into dataset-disable-cache
2 parents 4989978 + 6a761fc commit a67320b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/netlify-deploy.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ function logStdOut(opts) {
1212
}
1313

1414
if (!process.env.NETLIFY_API_KEY || !process.env.NETLIFY_SITE_ID) {
15-
throw new Error(
15+
console.warn(
1616
'Both NETLIFY_API_KEY and NETLIFY_SITE_ID are required. ' +
1717
'They can be found on ' +
1818
'https://app.netlify.com/sites/autocompletejs-playgrounds/settings/general' +
1919
' and https://app.netlify.com/account/applications'
2020
);
21+
process.exit(0);
2122
}
2223

2324
execa('yarn', ['build'])

0 commit comments

Comments
 (0)