Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Fix paths on Windows. #31

Merged
merged 4 commits into from
Sep 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ iron:[email protected]
[email protected]_2
[email protected]
[email protected]
lookback:[email protected].4
lookback:[email protected].5
[email protected]
meteorhacks:[email protected]
[email protected]
Expand Down
2 changes: 1 addition & 1 deletion example/.meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
lookback:[email protected].3
lookback:[email protected].5
[email protected]
[email protected]
meteorhacks:[email protected]
Expand Down
6 changes: 4 additions & 2 deletions utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ if process.env.BUNDLE_PATH
else if process.env.APP_DIR
ROOT = path.join(process.env.APP_DIR, 'programs','server', 'assets', 'app')
else
# In development, using PWD is fine.
ROOT = path.join(process.env.PWD, 'private')

# In development, using pwd is fine. Remove the .meteor/foo/bar stuff though.
realPath = process.cwd().replace(/(\.meteor.*)/g, '')
ROOT = path.join(realPath, 'private')

Utils =

Expand Down