Merge pull request #3674 from coderaiser/feature/lint-using-putout

Lint using 🐊Putout: part 6
This commit is contained in:
Daniel Imms
2022-03-08 12:43:52 -08:00
committed by GitHub
7 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ export class ColorManager implements IColorManager {
foreground: this.colors.foreground,
background: this.colors.background,
cursor: this.colors.cursor,
ansi: [...this.colors.ansi]
ansi: this.colors.ansi.slice()
};
}
+1 -1
View File
@@ -16,7 +16,7 @@ export function generateConfig(scaledCharWidth: number, scaledCharHeight: number
cursor: undefined,
cursorAccent: undefined,
selection: undefined,
ansi: [...colors.ansi]
ansi: colors.ansi.slice()
};
return {
devicePixelRatio: window.devicePixelRatio,