Skip to content

Commit 1a5e457

Browse files
authored
refactor: use shared file prefix (#1230)
1 parent 8bb35f7 commit 1a5e457

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/util/file-system.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,7 @@ import * as fs from "node:fs";
22
import * as path from "node:path";
33
import * as url from "node:url";
44
import { consola } from "consola";
5-
6-
const FILE_PREFIX = `/* eslint-disable */
7-
/* tslint:disable */
8-
// @ts-nocheck
9-
/*
10-
* ---------------------------------------------------------------
11-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
12-
* ## ##
13-
* ## AUTHOR: acacode ##
14-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
15-
* ---------------------------------------------------------------
16-
*/
17-
18-
`;
5+
import { FILE_PREFIX } from "../constants.js";
196

207
export class FileSystem {
218
getFileContent = (path: string) => {

0 commit comments

Comments
 (0)