mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
16 lines
356 B
Plaintext
16 lines
356 B
Plaintext
/**
|
|
* @typedef {Object} drawRow~border
|
|
* @property {string} bodyLeft
|
|
* @property {string} bodyRight
|
|
* @property {string} bodyJoin
|
|
*/
|
|
|
|
/**
|
|
* @param {number[]} columns
|
|
* @param {drawRow~border} border
|
|
* @returns {string}
|
|
*/
|
|
export default (columns, border) => {
|
|
return border.bodyLeft + columns.join(border.bodyJoin) + border.bodyRight + '\n';
|
|
};
|