Skip to content

Commit

Permalink
chore: remove environment
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Dec 8, 2023
1 parent fe71233 commit c984ca5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/app/core/code/code.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type { NzSafeAny } from 'ng-zorro-antd/core/types';

import angularJSON from './files/angular.json';
import appConfigTS from './files/app.config';
import environmentTS from './files/environment';
import mainTS from './files/main';
import mockUser from './files/mock-user';
import packageJSON from './files/package.json';
Expand Down Expand Up @@ -166,7 +165,6 @@ export class CodeService {
'angular.json': `${JSON.stringify(json, null, 2)}`,
'tsconfig.json': `${JSON.stringify(tsconfigJSON, null, 2)}`,
'package.json': `${JSON.stringify(packageJson, null, 2)}`,
'src/environments/environment.ts': environmentTS,
'src/index.html': res.html,
'src/main.ts': mainTS(res.componentName),
'src/app/app.component.ts': appComponentCode,
Expand Down Expand Up @@ -210,10 +208,6 @@ export class CodeService {
content: `${JSON.stringify(tsconfigJSON, null, 2)}`,
isBinary: false
},
'src/environments/environment.ts': {
content: environmentTS,
isBinary: false
},
'src/index.html': {
content: res.html,
isBinary: false
Expand Down Expand Up @@ -245,6 +239,10 @@ export class CodeService {
'_mock/index.ts': {
content: mockObj['_mock/index.ts'],
isBinary: false
},
'yarn.lock': {
content: yarnLock,
isBinary: false
}
};
if (includeCli) {
Expand Down
4 changes: 0 additions & 4 deletions src/app/core/code/files/environment.ts

This file was deleted.

0 comments on commit c984ca5

Please sign in to comment.