Merge pull request #10287 from AaronvDiepen/master
Implement code changes as suggested by analysis tools
This commit is contained in:
@@ -63,7 +63,7 @@ export default async (cmd: Command) => {
|
||||
const data = await readPluginData();
|
||||
const templateFiles = await diffTemplateFiles('default-plugin', data);
|
||||
await handleAllFiles(fileHandlers, templateFiles, promptFunc);
|
||||
await finalize();
|
||||
finalize();
|
||||
};
|
||||
|
||||
// Reads templating data from the existing plugin
|
||||
|
||||
@@ -226,7 +226,7 @@ export async function loadConfig(
|
||||
}
|
||||
}
|
||||
|
||||
const envConfigs = await readEnvConfig(process.env);
|
||||
const envConfigs = readEnvConfig(process.env);
|
||||
|
||||
const watchConfigFile = (watchProp: LoadConfigOptionsWatch) => {
|
||||
let watchedFiles = Array.from(loadedPaths);
|
||||
|
||||
@@ -185,7 +185,7 @@ describe('GheAuth AuthSessionStore', () => {
|
||||
|
||||
await expect(
|
||||
withLogCollector(async () => {
|
||||
await secondStore.setSession('no' as any);
|
||||
secondStore.setSession('no' as any);
|
||||
}),
|
||||
).resolves.toMatchObject({
|
||||
warn: [
|
||||
|
||||
Reference in New Issue
Block a user