Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Sep 11, 2021
1 parent 7d7006c commit fb2b3c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mods/common/src/fonos_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { getClientCredentials } from "./trust_util";
import { ServiceOptions } from "./types";
import {getClientCredentials} from "./trust_util";
import {ServiceOptions} from "./types";
import * as fs from "fs";
import * as path from "path";
import { Metadata } from "@grpc/grpc-js";
import {Metadata} from "@grpc/grpc-js";

const CONFIG_FILE =
process.env.API_CONFIG_FILE ||
path.join(require("os").homedir(), ".fonos", "config");
const configFileExit = () => fs.existsSync(CONFIG_FILE)
const configFileExit = () => fs.existsSync(CONFIG_FILE);
const getConfigFile = () => JSON.parse(fs.readFileSync(CONFIG_FILE).toString());

const defaultOptions: ServiceOptions = {
Expand Down

0 comments on commit fb2b3c4

Please sign in to comment.