Skip to content

Commit

Permalink
fix(ionic4): fs error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Jun 4, 2019
1 parent 70e6a26 commit a19eb15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config/patch_crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fs.readFile(f, 'utf8', function(err, data) {
if (err) {
return console.log(err)
}
var result = data.replace(/node: false/g, `node: {crypto: true, stream: true, fs: 'empty'}`)
var result = data.replace(/node: false/g, `node: {crypto: true, stream: true}`)

fs.writeFile(f, result, 'utf8', function(err) {
if (err) return console.log(err)
Expand Down
1 change: 0 additions & 1 deletion src/app/services/startup-checks/startup-checks.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { handleErrorLocal, ErrorCategory } from './../error-handler/error-handler.service'
import { SecureStorageService } from './../storage/storage.service'
import { DeviceService } from './../device/device.service'
import 'jasmine'
import { Injectable } from '@angular/core'
// import { IntroductionPage } from '../../pages/introduction/introduction'
// import { WarningsModalPage, Warning } from '../../pages/warnings-modal/warnings-modal'
Expand Down

0 comments on commit a19eb15

Please sign in to comment.