Permalink
Browse files

Added work around for issue with path.join ignoring number parameters.

  • Loading branch information...
1 parent 71b12eb commit b8aac7540ac85122ee8468969b91fb654cb9b0c3 @superafroman superafroman committed Jan 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webworker.js
View
@@ -90,7 +90,7 @@ var Worker = function(src, opts) {
var msgQueue = [];
// The path to our socket
- var sockPath = path.join(SOCK_DIR_PATH, numWorkersCreated++);
+ var sockPath = path.join(SOCK_DIR_PATH, '' + numWorkersCreated++);
// Server instance for our communication socket with the child process
//

0 comments on commit b8aac75

Please sign in to comment.