Skip to content

Commit

Permalink
Remove usage of deprecated requireCordovaModule (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Legenhausen authored and HazAT committed Mar 28, 2019
1 parent 879c11b commit 8e5eb67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/before_compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module.exports = function(ctx) {
} - set SENTRY_SKIP_AUTO_RELEASE=true to skip this`
);
const SentryCli = require('@sentry/cli');
const path = ctx.requireCordovaModule('path');
const fs = ctx.requireCordovaModule('fs');
const path = require('path');
const fs = require('fs');
const crypto = require('crypto');

if (process.env.SENTRY_SKIP_AUTO_RELEASE) {
Expand Down
3 changes: 1 addition & 2 deletions scripts/plugin_add_rm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ module.exports = function(ctx) {
`Sentry: running ${ctx.hook} - set SENTRY_SKIP_WIZARD=true to skip this`
);
const wizard = require('@sentry/wizard');
const tty = require('tty');
const fs = ctx.requireCordovaModule('fs');
const fs = require('fs');

let uninstall = false;

Expand Down

0 comments on commit 8e5eb67

Please sign in to comment.