Skip to content

Commit

Permalink
fix: make linter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Kurinnyi <[email protected]>
  • Loading branch information
akurinnoy authored and ibuziuk committed Nov 16, 2023
1 parent f0e6c6f commit 9f92806
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* Red Hat, Inc. - initial API and implementation
*/

import { V1alpha2DevWorkspaceTemplate } from '@devfile/api';
import { Main as DevworkspaceGenerator } from '@eclipse-che/che-devworkspace-generator/lib/main';
import { api } from '@eclipse-che/common';
import { FastifyInstance, FastifyRequest } from 'fastify';
Expand Down Expand Up @@ -45,9 +44,7 @@ export function registerDevworkspaceResourcesRoute(instance: FastifyInstance) {
axiosInstance,
);
// write templates and then DevWorkspace in a single file
const allContentArray = context.devWorkspaceTemplates.map(
(template: V1alpha2DevWorkspaceTemplate) => dump(template),
);
const allContentArray = context.devWorkspaceTemplates.map(template => dump(template));
allContentArray.push(dump(context.devWorkspace));

return allContentArray.join('---\n');
Expand Down

0 comments on commit 9f92806

Please sign in to comment.