Skip to content

Instantly share code, notes, and snippets.

@Ashoat
Created May 20, 2022 21:52
Show Gist options
  • Save Ashoat/3b4ad12b59c54847f8f277914d12837e to your computer and use it in GitHub Desktop.
Save Ashoat/3b4ad12b59c54847f8f277914d12837e to your computer and use it in GitHub Desktop.
ashoat@ashoatmbp2021 [~/src/comm]$ git diff
diff --git a/keyserver/src/scripts/generate-olm-config.js b/keyserver/src/scripts/generate-olm-config.js
index a1b1f3540..fb7f970b9 100644
--- a/keyserver/src/scripts/generate-olm-config.js
+++ b/keyserver/src/scripts/generate-olm-config.js
@@ -6,6 +6,7 @@ import path from 'path';
import uuid from 'uuid';
import { main } from './utils';
+import { getOlmConfig } from '../utils/olm-utils';
const olmConfigRelativePath = './secrets/olm_config.json';
@@ -34,6 +35,7 @@ async function generateOlmConfig() {
);
fs.writeFileSync(olmConfigFilePath, JSON.stringify(olmConfig));
+ console.log(await getOlmConfig());
}
main([generateOlmConfig]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment