We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2687807 commit df2de5eCopy full SHA for df2de5e
android/codepush.gradle
@@ -33,10 +33,10 @@ gradle.projectsEvaluated {
33
}
34
35
def nodeModulesPath;
36
- if (config.root) {
37
- nodeModulesPath = Paths.get(config.root.asFile.get().absolutePath, "/node_modules");
38
- } else if (project.hasProperty('nodeModulesPath')) {
+ if (project.hasProperty('nodeModulesPath')) {
39
nodeModulesPath = project.nodeModulesPath
+ } else if (config.root) {
+ nodeModulesPath = Paths.get(config.root.asFile.get().absolutePath, "/node_modules");
40
} else {
41
nodeModulesPath = "../../node_modules";
42
0 commit comments