This commit is contained in:
2022-04-07 18:09:31 +05:30
parent 36ea86d8e6
commit 1c779ef816
14095 changed files with 1769361 additions and 47 deletions
+14
View File
@@ -0,0 +1,14 @@
const { concat } = require('lodash');
const VersionFilesTask = require('../tasks/VersionFilesTask');
const { Component } = require('./Component');
module.exports = class Version extends Component {
/**
* Register the component.
*
* @param {string|string[]} paths
*/
register(paths = []) {
this.context.addTask(new VersionFilesTask({ files: concat([], paths) }));
}
};