Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
vfs-local: Make mountOptions, optional bump to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Aug 1, 2012
1 parent da65fa1 commit bbe0947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion http-adapter/package.json
Expand Up @@ -5,7 +5,7 @@
],
"name": "vfs-http-adapter",
"description": "A http middleware to wrap vfs instances and expose them via a RESTful interface",
"version": "0.2.1",
"version": "0.2.2",
"repository": {
"type": "git",
"url": "git://github.com/c9/vfs.git"
Expand Down
2 changes: 2 additions & 0 deletions http-adapter/restful.js
Expand Up @@ -5,6 +5,8 @@ var pathJoin = require('path').join;

module.exports = function setup(mount, vfs, mountOptions) {

if (!mountOptions) mountOptions = {};

// Returns a json stream that wraps input object stream
function jsonEncoder(input, path) {
var output = new Stream();
Expand Down

0 comments on commit bbe0947

Please sign in to comment.