fix(core): update
This commit is contained in:
parent
7be0e70754
commit
cf899609be
8389
package-lock.json
generated
8389
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -22,15 +22,15 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.24",
|
"@gitzone/tsbuild": "^2.1.24",
|
||||||
|
"@gitzone/tsbundle": "^1.0.72",
|
||||||
"@gitzone/tsrun": "^1.2.12",
|
"@gitzone/tsrun": "^1.2.12",
|
||||||
"@gitzone/tstest": "^1.0.33",
|
"@gitzone/tstest": "^1.0.43",
|
||||||
"@pushrocks/tapbundle": "^3.2.1",
|
"@pushrocks/tapbundle": "^3.2.9",
|
||||||
"@types/node": "^14.0.13",
|
"@types/node": "^14.0.27",
|
||||||
"tslint": "^6.1.2",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gitzone/tsbundle": "^1.0.69",
|
|
||||||
"@pushrocks/isounique": "^1.0.4",
|
"@pushrocks/isounique": "^1.0.4",
|
||||||
"@pushrocks/smartlog-interfaces": "^2.0.20"
|
"@pushrocks/smartlog-interfaces": "^2.0.20"
|
||||||
},
|
},
|
||||||
|
@ -37,10 +37,7 @@ export class Smartlog implements plugins.smartlogInterfaces.ILogDestination {
|
|||||||
public enableConsole(optionsArg?: { captureAll: boolean }) {
|
public enableConsole(optionsArg?: { captureAll: boolean }) {
|
||||||
if (process && optionsArg && optionsArg.captureAll) {
|
if (process && optionsArg && optionsArg.captureAll) {
|
||||||
const write = process.stdout.write;
|
const write = process.stdout.write;
|
||||||
/* import * as fs from 'fs';
|
|
||||||
const fileStream = fs.createWriteStream(plugins.path.join(paths.nogitDir, 'output.txt'), {
|
|
||||||
flags: 'a+'
|
|
||||||
}); */
|
|
||||||
process.stdout.write = (...args) => {
|
process.stdout.write = (...args) => {
|
||||||
const logString: string = args[0];
|
const logString: string = args[0];
|
||||||
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
if (!logString.startsWith('LOG') && typeof logString === 'string') {
|
||||||
|
Loading…
Reference in New Issue
Block a user