Update libs (#28)
* added prompt context library * updated libs, except chalk that should not be updated * updated libs and fixed speed
This commit is contained in:
+3
-3
@@ -17,13 +17,13 @@ export const getSettings = async (toolbox): Promise<TConfig | null> => {
|
||||
try {
|
||||
return await filesystem.readAsync(
|
||||
`${os.homedir()}/.pwcli_settings`,
|
||||
'json'
|
||||
'json',
|
||||
);
|
||||
} catch {
|
||||
print.error(`
|
||||
|
||||
No config found, please run [ ${chalk.cyan(
|
||||
'pwcli s se'
|
||||
'pwcli s se',
|
||||
)} ] or setup > settings from the menu.
|
||||
|
||||
`);
|
||||
@@ -33,7 +33,7 @@ export const getSettings = async (toolbox): Promise<TConfig | null> => {
|
||||
|
||||
export const getCurrentBranch = async (
|
||||
path: string,
|
||||
toolbox
|
||||
toolbox,
|
||||
): Promise<string | null> => {
|
||||
const { system } = toolbox;
|
||||
const config = await getSettings(toolbox);
|
||||
|
||||
Reference in New Issue
Block a user