Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
fix: don't use readfilesync
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcodercrane committed Aug 2, 2023
1 parent 09044eb commit 7e8baf0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/private.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import _sodium from "libsodium-wrappers";
import YAML from "yaml";
import { Payload } from "../types";
import { Context } from "probot";
import { readFileSync } from "fs";
import {
getAnalyticsMode,
getAutoPayMode,
Expand All @@ -23,7 +22,6 @@ import DEFAULT_CONFIG_JSON from "../../ubiquibot-config-default.json";

const CONFIG_REPO = "ubiquibot-config";
const CONFIG_PATH = ".github/ubiquibot-config.yml";
const DEFAULT_CONFIG_PATH = "/ubiquibot-config-default.yml";
const KEY_NAME = "private-key-encrypted";
const KEY_PREFIX = "HSK_";

Expand Down

0 comments on commit 7e8baf0

Please sign in to comment.