Socket
Socket
Sign inDemoInstall

sitecore-switch-solr

Package Overview
Dependencies
336
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

11

gulp-tasks/sitecore-switch-to-solr.js

@@ -16,8 +16,7 @@ /*jslint node: true */

var psFile = path.join(taskDir, "../powershell-scripts/configure-sitecore-solr.ps1");
powershell.runSync(psFile, " -webRootPath " + config.websiteRoot + " -solrExtractLocation " + config.solrExtractLocation, path.join(taskDir, "../powershell-scripts"), callback);
//var result = powershell.runSync(psFile, " -webRootPath " + config.websiteRoot + " -solrExtractLocation " + config.solrExtractLocation, path.join(taskDir, "../powershell-scripts"), callback);
//if (result > 0) {
// build.logEvent("builder", "Configuring Solr failed, quitting")
// process.exit(1)
//}
var websiteRoot = config.websiteRoot;
if(!path.isAbsolute(config.websiteRoot))
websiteRoot = path.join(process.cwd(),config.websiteRoot);
powershell.runSync(psFile, " -webRootPath " + websiteRoot + " -solrExtractLocation " + config.solrExtractLocation, path.join(taskDir, "../powershell-scripts"), callback);

@@ -24,0 +23,0 @@ build.logEvent("builder", "Sitecore switch to solr completed successfully, don't forget to rebuild indexes in Sitecores control panel");

@@ -56,3 +56,3 @@ {

},
"version": "1.0.10"
"version": "1.0.11"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc