Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use system file separator for generating WOOCOMMERCE file
  • Loading branch information
oguzkocer committed Jun 5, 2018
1 parent ba54e56 commit 735d1b0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ public void init(ProcessingEnvironment processingEnv) {
generateXMLRPCEndpointFile();
generateWPAPIEndpointFile();
generateWPORGAPIEndpointFile();
} else if (outputPath.contains("/plugins/woocommerce/build/")) {
} else if (outputPath.contains(fs + "plugins" + fs + "woocommerce" + fs + "build" + fs)) {
generateWCWPAPIPluginEndpointFile();
}
} catch (IOException e) {
Expand Down

0 comments on commit 735d1b0

Please sign in to comment.