@quikcommit/cli 13.1.0 → 13.2.0
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.
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11951,6 +11951,11 @@ async function runCommit(args) {
|
|
|
11951
11951
|
}
|
|
11952
11952
|
process.exit(1);
|
|
11953
11953
|
}
|
|
11954
|
+
const { getLocalProviderConfig: getLocalProviderConfig2, runLocalCommit: runLocalCommit2 } = await Promise.resolve().then(() => (init_local(), local_exports));
|
|
11955
|
+
if (getLocalProviderConfig2()) {
|
|
11956
|
+
await runLocalCommit2(args);
|
|
11957
|
+
return;
|
|
11958
|
+
}
|
|
11954
11959
|
const apiKey = apiKeyFlag ?? getApiKey();
|
|
11955
11960
|
if (!apiKey) {
|
|
11956
11961
|
log.error("Not authenticated. Run `qc login` first.");
|
|
@@ -12723,8 +12728,7 @@ async function main() {
|
|
|
12723
12728
|
await runLocalCommit2(values);
|
|
12724
12729
|
return;
|
|
12725
12730
|
}
|
|
12726
|
-
|
|
12727
|
-
if (!apiKeyToUse) {
|
|
12731
|
+
{
|
|
12728
12732
|
const { getLocalProviderConfig: getLocalProviderConfig2 } = await Promise.resolve().then(() => (init_local(), local_exports));
|
|
12729
12733
|
if (getLocalProviderConfig2()) {
|
|
12730
12734
|
const { runLocalCommit: runLocalCommit2 } = await Promise.resolve().then(() => (init_local(), local_exports));
|