// Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
// license agreements; and to You under the Apache License, Version 2.0. | |
function leftPadAction(args) { | |
const leftPad = require("left-pad") | |
const lines = args.lines || []; | |
return { padded: lines.map(l => leftPad(l, 30, ".")) } | |
} | |
exports.main = leftPadAction; |