Skip to content

Commit

Permalink
♻️ Use .upptimerc.yml in same dir
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Oct 13, 2020
1 parent c596949 commit e38a9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion post-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { safeLoad } from "js-yaml";
import { join } from "path";

export const preProcess = async () => {
const config = safeLoad(await readFile(join("..", ".upptimerc.yml"), "utf8")) as {
const config = safeLoad(await readFile(join(".", ".upptimerc.yml"), "utf8")) as {
"status-website"?: {
cname?: string;
};
Expand Down
2 changes: 1 addition & 1 deletion pre-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const preProcess = async () => {
[index: string]: string;
};

const config = safeLoad(await readFile(join("..", ".upptimerc.yml"), "utf8")) as {
const config = safeLoad(await readFile(join(".", ".upptimerc.yml"), "utf8")) as {
logoUrl?: string;
name?: string;
introTitle?: string;
Expand Down

0 comments on commit e38a9dd

Please sign in to comment.