use hyphen instead of underscore

This commit is contained in:
Ben Wheeler 2021-05-14 19:17:22 -04:00
parent 177c02824c
commit 37a5dd9365
2 changed files with 3 additions and 3 deletions

View file

@ -270,8 +270,8 @@ async.auto({
fastly.activateVersion(results.version, function (e, resp) {
if (e) throw new Error(e);
process.stdout.write('Successfully configured and activated version ' + resp.number + '\n');
// purge static_assets using surrogate key
fastly.purgeKey(FASTLY_SERVICE_ID, 'static_assets', function (error) {
// purge static-assets using surrogate key
fastly.purgeKey(FASTLY_SERVICE_ID, 'static-assets', function (error) {
if (error) throw new Error(error);
process.stdout.write('Purged static assets.\n');
});