Index: src/FileSystemJsObject.cpp |
=================================================================== |
--- a/src/FileSystemJsObject.cpp |
+++ b/src/FileSystemJsObject.cpp |
@@ -325,7 +325,7 @@ |
std::string resolved = jsEngine->GetFileSystem()->Resolve(converted[0]->AsString()); |
- return v8::String::New(resolved.c_str(), resolved.length()); |
+ return Utils::ToV8String(resolved); |
} |
} |