Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit 10f00d6

Browse files
committed
Fix typo in filename
1 parent 2d26d2a commit 10f00d6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/contants.ts src/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const EXIT_STATUS = {
44
/** Auth file contents look invalid (multiple lines or empty) $HOME/.kmdr/auth */
55
FILE_INVALID: 10,
66
/** Auth file does not exist $HOME/.kmdr/auth */
7-
FILE_NOT_PRESENT: 12,
7+
FILE_NOT_PRESENT: 11,
88
/** Generic */
99
GENERIC: 1,
1010
/** The token expired. It occurs when user does not click the login link. */

src/subcommands/explain/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Highlight, NodeDefinition, Tree } from "kmdr-ast";
44
import Auth from "../../Auth";
55
import CLI from "../../Cli";
66
import CliDecorators from "../../CliDecorators";
7-
import { EXIT_STATUS } from "../../contants";
7+
import { EXIT_STATUS } from "../../constants";
88
import { KmdrAuthError } from "../../errors";
99
import { GetProgramAstResponse, SaveFeedbackResponse } from "../../interfaces";
1010
import Print from "../../Print";

src/subcommands/login/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import fetch from "node-fetch";
77
import os from "os";
88
import Auth from "../../Auth";
99
import CLI from "../../Cli";
10-
import { EXIT_STATUS } from "../../contants";
10+
import { EXIT_STATUS } from "../../constants";
1111
import KmdrAuthError from "../../errors/KmdrAuthError";
1212
import { CurrentUserReponse, LoginIdResponse, User } from "../../interfaces";
1313
import Print from "../../Print";

src/subcommands/logout/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from "fs";
22
import fetch from "node-fetch";
33
import Auth from "../../Auth";
44
import CLI from "../../Cli";
5-
import { EXIT_STATUS } from "../../contants";
5+
import { EXIT_STATUS } from "../../constants";
66
import { KmdrAuthError } from "../../errors";
77
import Print from "../../Print";
88

0 commit comments

Comments
 (0)