Skip to content

Commit

Permalink
Docblock suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshpanchal27 committed Feb 27, 2024
1 parent 32b1c3c commit 9c4674d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions bin/plugin/commands/get-plugin-dir.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ exports.options = [
/**
* Command to get directory for plugin/module based on the slug.
*
* @param {Object} opt Command options.
* @param {Object} opt Command options.
* @param {string} opt.slug Plugin/module slug.
*/
exports.handler = async ( opt ) => {
doRunGetPluginDir( {
pluginsJsonFile: 'plugins.json', // Path to plugins.json file.
slug: opt.slug, // Plugin/module slug.
slug: opt.slug,
} );
};

Expand Down
5 changes: 3 additions & 2 deletions bin/plugin/commands/get-plugin-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ exports.options = [
/**
* Command to get the plugin version based on the slug.
*
* @param {Object} opt Command options.
* @param {Object} opt Command options.
* @param {string} opt.slug Plugin/module slug.
*/
exports.handler = async ( opt ) => {
doRunGetPluginVersion( {
pluginsJsonFile: 'plugins.json', // Path to plugins.json file.
slug: opt.slug, // Plugin slug.
slug: opt.slug,
} );
};

Expand Down

0 comments on commit 9c4674d

Please sign in to comment.