Skip to content

Commit

Permalink
fix path to config template
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebrabbani committed Mar 24, 2022
1 parent e400a70 commit f717099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cli/utils/init.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export default function provideInitConfig(
if (!filesystem.existsSync(join(fortaKeystore, configFilename))) {
console.log(`Creating ${configFilename}...`);
const copyConfigResult = shell.cp(
join(__dirname, configFilename),
join(__dirname, "..", "commands", "init", configFilename),
fortaKeystore
);
assertShellResult(copyConfigResult, `error creating ${configFilename}`);
assertShellResult(copyConfigResult, `Error creating ${configFilename}`);
} else {
console.log(`Found existing ${configFilename} in ${fortaKeystore}`);
}
Expand Down
2 changes: 1 addition & 1 deletion cli/utils/init.keystore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function provideInitKeystore(
const createKeystoreResult = shell.mkdir(fortaKeystore);
assertShellResult(
createKeystoreResult,
`error creating keystore folder ${fortaKeystore}`
`Error creating keystore folder ${fortaKeystore}`
);
}
};
Expand Down

0 comments on commit f717099

Please sign in to comment.