Skip to content

Commit

Permalink
NAS-131850 / 25.04 / Remove unused code (#10887)
Browse files Browse the repository at this point in the history
  • Loading branch information
undsoft authored Oct 21, 2024
1 parent e7bd306 commit c17d8e1
Show file tree
Hide file tree
Showing 36 changed files with 21 additions and 399 deletions.
25 changes: 0 additions & 25 deletions Jenkinsfile

This file was deleted.

73 changes: 0 additions & 73 deletions Jenkinsfile-API-Testing

This file was deleted.

45 changes: 0 additions & 45 deletions Jenkinsfile-Debian

This file was deleted.

25 changes: 0 additions & 25 deletions Jenkinsfile-npm8

This file was deleted.

13 changes: 0 additions & 13 deletions jenkins-yarn

This file was deleted.

1 change: 1 addition & 0 deletions src/app/enums/codename.enum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export enum Codename {
ElectricEel = 'ElectricEel',
Dragonfish = 'Dragonfish',
Fangtooth = 'Fangtooth',
}
4 changes: 0 additions & 4 deletions src/app/enums/screen-type.enum.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/app/enums/system-state.enum.ts

This file was deleted.

11 changes: 1 addition & 10 deletions src/app/helpers/json-to-yaml.helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { marker as T } from '@biesbjerg/ngx-translate-extract-marker';
import { dump, load } from 'js-yaml';
import { dump } from 'js-yaml';

export function jsonToYaml(jsonData: unknown): string {
try {
Expand All @@ -18,12 +18,3 @@ export function jsonToYaml(jsonData: unknown): string {
return T('Error occurred');
}
}

export function yamlToJson(value: string): unknown {
try {
return load(value);
} catch (error) {
console.error(error);
return T('Error occurred');
}
}
2 changes: 1 addition & 1 deletion src/app/helptext/system/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const helptextSystemSupport = {

secondary_contact: T('Secondary Contact'),

dialog_mesage: T('Successfully saved proactive support settings.'),
dialog_message: T('Successfully saved proactive support settings.'),
dialog_unavailable_title: T('Warning'),
dialog_unavailable_warning: T('Proactive support settings is not available.'),
},
Expand Down
Loading

0 comments on commit c17d8e1

Please sign in to comment.