Skip to content

Commit

Permalink
fix(monorepo): remove some comments, and update module names accordin…
Browse files Browse the repository at this point in the history
…g to comments in #1459 (#1460)
  • Loading branch information
SanderElias authored Nov 12, 2021
1 parent 45854a5 commit c26bf70
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion apps/sample-blog/src/app/app.sps.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ enableProdMode();
providers: [],
bootstrap: [AppComponent],
})
export default class AppPsPModule {}
export default class AppSPSModule {}
2 changes: 1 addition & 1 deletion apps/scully-docs/src/app/app.sps.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ enableProdMode();
providers: [],
bootstrap: [AppComponent],
})
export default class AppPSPModule {}
export default class AppSPSModule {}
2 changes: 1 addition & 1 deletion apps/sps-sample/src/app/app.sps.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ enableProdMode();
providers: [],
bootstrap: [AppComponent],
})
export default class AppPsrModule {}
export default class AppSPSModule {}
9 changes: 0 additions & 9 deletions libs/scully/src/lib/fileHanderPlugins/asciidoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,3 @@ const asciiDocPlugin = async (raw: string) => {
};

registerPlugin('fileHandler', 'adoc', asciiDocPlugin, ['asciidoc', 'asc']);


// {
// runtime: {
// platform: 'node',
// engine: 'v8',
// framework: 'webworker'
// }
// }
9 changes: 3 additions & 6 deletions libs/scully/src/lib/utils/serverstuff/handleUnknownRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
import { RequestHandler } from 'express';
import { readFileSync, statSync } from 'fs-extra';
import { join } from 'path';
// import { handleTravesal } from '..';
import { findPlugin } from '../../pluginManagement';
import { pathToRegexp } from 'path-to-regexp';
import { HandledRoute } from '../../routerPlugins/';
import { routesFileName } from '../../systemPlugins/storeRoutes';
import { handle404 } from '../cli-options';
import { logError, logWarn, yellow } from '../log';
import { pathToRegexp } from 'path-to-regexp';
import { readAllDotProps } from '../scullydot';
import { title404 } from './title404';
// import { loadConfig } from '../config';
import { HandledRoute } from '../../routerPlugins/';
import { readAllDotProps } from '../scullydot'

const scullyConfig = readAllDotProps();

Expand Down

0 comments on commit c26bf70

Please sign in to comment.