Skip to content

Commit a296892

Browse files
committed
build
1 parent 4595828 commit a296892

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

out/cli.cjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16425,7 +16425,7 @@ var package_default = {
1642516425
scripts: {
1642616426
watch: "npm run -S build -- --sourcemap --watch",
1642716427
start: "node ./out/cli.cjs",
16428-
"ollama:start": "AI_PROVIDER='ollama' node./out/cli.cjs",
16428+
"ollama:start": "OCO_AI_PROVIDER='ollama' node ./out/cli.cjs",
1642916429
dev: "ts-node ./src/cli.ts",
1643016430
build: "rimraf out && node esbuild.config.js",
1643116431
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
@@ -18796,9 +18796,7 @@ var getConfig = () => {
1879618796
);
1879718797
config8[configKey] = validValue;
1879818798
} catch (error) {
18799-
ce(
18800-
`'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.`
18801-
);
18799+
ce(`Unknown '${configKey}' config option.`);
1880218800
ce(
1880318801
`Manually fix the '.env' file or global '~/.opencommit' config file.`
1880418802
);
@@ -21981,7 +21979,6 @@ var OllamaAi = class {
2198121979
}
2198221980
});
2198321981
const answer = response.data?.response;
21984-
console.log("answer", answer);
2198521982
return answer;
2198621983
} catch (err) {
2198721984
const message = err.response?.data?.error ?? err.message;

out/github-action.cjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24291,9 +24291,7 @@ var getConfig = () => {
2429124291
);
2429224292
config7[configKey] = validValue;
2429324293
} catch (error) {
24294-
ce(
24295-
`'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.`
24296-
);
24294+
ce(`Unknown '${configKey}' config option.`);
2429724295
ce(
2429824296
`Manually fix the '.env' file or global '~/.opencommit' config file.`
2429924297
);
@@ -27476,7 +27474,6 @@ var OllamaAi = class {
2747627474
}
2747727475
});
2747827476
const answer = response.data?.response;
27479-
console.log("answer", answer);
2748027477
return answer;
2748127478
} catch (err) {
2748227479
const message = err.response?.data?.error ?? err.message;

0 commit comments

Comments
 (0)