1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/secretUtils.js b/src/util/secretUtils.js
index 33e5fef..bbad8ca 100644
--- a/src/util/secretUtils.js
+++ b/src/util/secretUtils.js
@@ -1,9 +1,9 @@
-import fs from "node:fs/promises";
+import fs from 'node:fs/promises';
export async function readSecret(path) {
- if (!path) {
- throw new Error("Path to secret file is required");
- }
- const content = await fs.readFile(path, "utf8");
- return content.trim();
+ if (!path) {
+ throw new Error('Path to secret file is required');
+ }
+ const content = await fs.readFile(path, 'utf8');
+ return content.trim();
}
|