Skip to content

Commit

Permalink
Merge pull request tldr-pages#50 from Tug/master
Browse files Browse the repository at this point in the history
Fix issue where common won't be required if os is detected
  • Loading branch information
rprieto committed Jan 29, 2014
2 parents 1e21b19 + 99114cb commit 3aafb4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var os = require('os');
var async = require('async');

var osDirectories = {
common : "common",
darwin : 'osx',
linux : 'linux'
};
Expand All @@ -14,7 +13,7 @@ function path(command, platform) {
}

function getForPlatform(repository, command, platform, done) {
var pathCommon = path(command);
var pathCommon = path(command, "common");
var pathPlatform = path(command, platform);

async.parallel([
Expand Down

0 comments on commit 3aafb4f

Please sign in to comment.