Skip to content

Commit 1c03d12

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
GH-423: Do not copy copyright from about dialog
Closes arduino/arduino-pro-ide#423 Signed-off-by: Akos Kitta <[email protected]>
1 parent 9180f4e commit 1c03d12

File tree

1 file changed

+2
-2
lines changed
  • arduino-ide-extension/src/browser/contributions

1 file changed

+2
-2
lines changed

Diff for: arduino-ide-extension/src/browser/contributions/about.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class About extends Contribution {
3838
Date: ${buildDate ? buildDate : 'dev build'}${buildDate && showAll ? ` (${this.ago(buildDate)})` : ''}
3939
CLI Version: ${version}${cliStatus ? ` ${cliStatus}` : ''} [${commit}]
4040
41-
Copyright © ${new Date().getFullYear()} Arduino SA
41+
${showAll ? `Copyright © ${new Date().getFullYear()} Arduino SA` : ''}
4242
`;
4343
const ok = 'OK';
4444
const copy = 'Copy';
@@ -55,7 +55,7 @@ Copyright © ${new Date().getFullYear()} Arduino SA
5555
});
5656

5757
if (buttons[response] === copy) {
58-
await this.clipboardService.writeText(detail(false));
58+
await this.clipboardService.writeText(detail(false).trim());
5959
}
6060
}
6161

0 commit comments

Comments
 (0)