Skip to content

Commit

Permalink
feat: changing log position in mock.ts
Browse files Browse the repository at this point in the history
feat #45
  • Loading branch information
Hermione2408 committed Mar 2, 2023
1 parent 1278a4f commit e8a3620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export interface Config {
Mode: string;
}
export function NewContext(conf: Config) {
console.log("Keploy running in: ",process.env.KEPLOY_MODE," mode");
let mode = MODE_TEST,
path = conf !== undefined && conf.Path !== undefined ? conf.Path : "";

Expand Down Expand Up @@ -60,6 +59,7 @@ export function NewContext(conf: Config) {
if (Mode.Valid(conf.Mode)) {
mode = conf.Mode;
}
console.log("Keploy running in: ",mode," mode");
switch (mode) {
case "test":
if (conf.Name === "") {
Expand Down

0 comments on commit e8a3620

Please sign in to comment.