readdirSyncRecursive returns file names on Linux, file paths on Windows #26

Closed
opened 2012-05-01 08:23:06 -07:00 by domenic · 2 comments
domenic commented 2012-05-01 08:23:06 -07:00 (Migrated from github.com)

This caused some problems deploying from a Windows dev environment to a Linux production environment :-/.

This caused some problems deploying from a Windows dev environment to a Linux production environment :-/.
ryanmcgrath commented 2012-05-13 08:47:35 -07:00 (Migrated from github.com)

Hmm... I don't have a VM to test on at the moment. Is this down to a platform difference in Node.js, by any chance? If so I feel like it's more of an upstream bug for them.

Hmm... I don't have a VM to test on at the moment. Is this down to a platform difference in Node.js, by any chance? If so I feel like it's more of an upstream bug for them.
domenic commented 2012-05-14 16:33:29 -07:00 (Migrated from github.com)

Nah, just down to using manual string manipulation instead of the path module.

There are lots of other places in the code that do such string manipulation (e.g. concatenation with / instead of using path.join), but all the tests pass on Windows now, so it seems likely they don't matter.

Nah, just down to using manual string manipulation instead of the `path` module. There are lots of other places in the code that do such string manipulation (e.g. concatenation with `/` instead of using `path.join`), but all the tests pass on Windows now, so it seems likely they don't matter.
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/wrench-js#26
No description provided.