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.3 to 1.0.4

14

gulp-tasks/switch-to-solr.js

@@ -18,13 +18,13 @@ /*jslint node: true */

var result = powershell.runSync(psFile, " -solrExtractLocation " + config.solrExtractLocation, path.join(taskDir, "../powershell-scripts"), callback);
if (result.status > 0)
if (result > 0 )
{
build.LogEvent("builder", "Installing Solr failed, quitting")
process.exit()
}
build.logEvent("builder", "Installing Solr failed, quitting")
process.exit(1)
}
build.logEvent("builder", "Switching Sitecore instance on " + config.websiteRoot + " to use Solr");
var psFile = path.join(taskDir, "../powershell-scripts/configure-sitecore-solr.ps1");
var result = powershell.runSync(psFile, " -webRootPath " + config.websiteRoot + " -solrExtractLocation " + config.solrExtractLocation, path.join(taskDir, "../powershell-scripts"), callback);
if (result.status > 0) {
build.LogEvent("builder", "Configuring Solr failed, quitting")
process.exit()
if (result > 0) {
build.logEvent("builder", "Configuring Solr failed, quitting")
process.exit(1)
}

@@ -31,0 +31,0 @@ // TODO: Trigger index rebuild automatically

@@ -48,3 +48,3 @@ {

"private": false,
"readme": "README.md",
"readme": "See http://github.com/diegossj/sitecore-switch-solr",
"repository": {

@@ -57,3 +57,3 @@ "type": "git",

},
"version": "1.0.3"
"version": "1.0.4"
}

Sorry, the diff of this file is not supported yet

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