Skip to content
Snippets Groups Projects
Commit fe859947 authored by Maxim Shafirov's avatar Maxim Shafirov
Browse files

Looks like I finally understand relative vs. join

parent a47f909e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -18,7 +18,7 @@ module.exports = function(content) {
}
 
var buildFile = path.resolve(loader.resourcePath);
var root = path.relative(buildFile, "../")
var root = path.join(buildFile, "../")
var project = loader.resourceQuery.substr(1)
 
var gradle = path.join(root, "gradlew")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment