refactor(server): remove redundant null from unknown union types (#693)
This commit is contained in:
@@ -46,7 +46,7 @@ export function statPaseoConfigPath(repoRoot: string): PaseoConfigRevision | nul
|
||||
};
|
||||
}
|
||||
|
||||
export function readPaseoConfigJson(repoRoot: string): unknown | null {
|
||||
export function readPaseoConfigJson(repoRoot: string): unknown {
|
||||
const configPath = resolvePaseoConfigPath(repoRoot);
|
||||
if (!existsSync(configPath)) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user