forked from actions/setup-maven
11 lines
179 B
JavaScript
11 lines
179 B
JavaScript
define(['./filter'], function (filter) {
|
|
|
|
// Trim out all falsy values from an array.
|
|
function compact(array) {
|
|
return filter(array, Boolean);
|
|
}
|
|
|
|
return compact;
|
|
|
|
});
|