Skip to content

Commit

Permalink
src/lib/javascript: fix error with default JS path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lahaxe committed Aug 28, 2015
1 parent 0a3c2b9 commit 8f2615a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/javascript/JavascriptVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ v8::Handle<v8::Value> require(v8::Arguments const & args)
boost::filesystem::path const root(DICOMIFIER_DEFAULT_JS_PATH);
if(boost::filesystem::is_regular(root/path_utf8))
{
absolute_path = boost::filesystem::current_path()/path_utf8;
absolute_path = root/path_utf8;
}
}
#endif
Expand Down

0 comments on commit 8f2615a

Please sign in to comment.