Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: appease linter
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
alanshaw committed Dec 13, 2018
1 parent 89839d4 commit ca34d52
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/utils/files/glob-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ const errCode = require('err-code')
* Create a pull stream source that can be piped to ipfs.addPullStream for the
* provided file paths.
*
* @param ...paths {String} File system path(s) to glob from
* @param [options] {Object} Optional options
* @param [options.recursive] {Boolean} Recursively glob all paths in directories
* @param [options.hidden] {Boolean} Include .dot files in matched paths
* @param [options.ignore] {Array<String>} Glob paths to ignore
* @param [options.followSymlinks] {Boolean} follow symlinks
* @param {String} ...paths File system path(s) to glob from
* @param {Object} [options] Optional options
* @param {Boolean} [options.recursive] Recursively glob all paths in directories
* @param {Boolean} [options.hidden] Include .dot files in matched paths
* @param {Array<String>} [options.ignore] Glob paths to ignore
* @param {Boolean} [options.followSymlinks] follow symlinks
* @returns {Function} pull stream source
*/
module.exports = (...args) => {
const options = isString(args[args.length - 1]) ? {} : args.pop()
Expand Down

0 comments on commit ca34d52

Please sign in to comment.