open-vault/ui/app/helpers/multi-line-join.js

13 lines
254 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { helper as buildHelper } from '@ember/component/helper';
export function multiLineJoin([arr]) {
return arr.join('\n');
}
export default buildHelper(multiLineJoin);