Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fix typo causing global leak in findSync() #10

Closed
wants to merge 1 commit into from

3 participants

Alex Mingoia Adrien Cahen James Halliday
Alex Mingoia

Fix typo causing global leak in findSync().

Adrien Cahen
gaarf commented on 1f93e01

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 27, 2012
Alex Mingoia alexmingoia Fix typo causing global leak in findSync() 1f93e01
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  index.js
2  index.js
@@ -103,7 +103,7 @@ function find (base, options, cb) {
103 103 return em;
104 104 };
105 105
106   -exports.findSync = function findSync(dir, options, callback) {
  106 +exports.findSync = function findSync(dir, options, cb) {
107 107 cb = arguments[arguments.length - 1];
108 108 if (typeof(cb) !== 'function') {
109 109 cb = undefined;

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.