@zohodesk/codestandard-validator 1.2.4-exp-7 → 1.2.4-exp-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,10 +21,12 @@ function sanitizeStreamText(text) {
21
21
  * Ollama API Configuration Schema
22
22
  * Ref: https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-completion
23
23
  */
24
+
25
+ const LOCALHOST = ""; // FIll HOST HERE
24
26
  const API_CONFIG_SCHEMA = {
25
27
  baseUrl: {
26
28
  type: 'string',
27
- default: 'http://localhost:11434',
29
+ default: LOCALHOST,
28
30
  required: true
29
31
  },
30
32
  model: {
@@ -24,9 +24,9 @@ function postInstallExecution() {
24
24
  initializationPath
25
25
  } = getServicePathElseCommon();
26
26
  const {
27
- intialize
27
+ initialize
28
28
  } = require(initializationPath);
29
- intialize();
29
+ initialize();
30
30
  } catch (error) {
31
31
  Logger.log(Logger.FAILURE_TYPE, `Error while initialize configuration: ${error}`);
32
32
  }
package/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  const { getLintConfigurationUtil } = require("./build/utils/ConfigFileUtils/getLintConfiguration");
2
2
  const { rulesConfig, plugins, extendPlugins } = getLintConfigurationUtil();
3
- // const Mutant = require("./build/mutation/index");
4
3
 
5
4
  module.exports = {
6
5
  rulesConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/codestandard-validator",
3
- "version": "1.2.4-exp-7",
3
+ "version": "1.2.4-exp-9",
4
4
  "description": "library to enforce code standard using eslint",
5
5
  "main": "index.js",
6
6
  "scripts": {