Merge pull request #10287 from AaronvDiepen/master

Implement code changes as suggested by analysis tools
This commit is contained in:
Fredrik Adelöw
2022-03-21 19:51:32 +01:00
committed by GitHub
11 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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: [