consul/ui/packages/consul-ui/app/utils/templatize.js

9 lines
165 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default function (arr = []) {
return arr.map((item) => `template-${item}`);
}