You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/04/02 03:03:07 UTC
[cordova-paramedic] branch master updated: Replace
requireCordovaModule with require (#109)
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
The following commit(s) were added to refs/heads/master by this push:
new 70559f0 Replace requireCordovaModule with require (#109)
70559f0 is described below
commit 70559f0b329d932eae22f6d2c6ecc16ddf8b1330
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Tue Apr 2 12:03:02 2019 +0900
Replace requireCordovaModule with require (#109)
---
debug-mode-plugin/scripts/disable-debug-mode.js | 2 +-
debug-mode-plugin/scripts/enable-debug-mode.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debug-mode-plugin/scripts/disable-debug-mode.js b/debug-mode-plugin/scripts/disable-debug-mode.js
index 17e1b24..a7886db 100644
--- a/debug-mode-plugin/scripts/disable-debug-mode.js
+++ b/debug-mode-plugin/scripts/disable-debug-mode.js
@@ -19,7 +19,7 @@
module.exports = function (context) {
var path = require('path');
- var shell = context.requireCordovaModule('shelljs');
+ var shell = require('shelljs');
var libPath = path.resolve(context.opts.projectRoot, "platforms/windows/cordova/lib");
var appUtilsPath = path.join(libPath, "WindowsStoreAppUtils.ps1");
diff --git a/debug-mode-plugin/scripts/enable-debug-mode.js b/debug-mode-plugin/scripts/enable-debug-mode.js
index cbde75f..36ecdcb 100644
--- a/debug-mode-plugin/scripts/enable-debug-mode.js
+++ b/debug-mode-plugin/scripts/enable-debug-mode.js
@@ -19,7 +19,7 @@
module.exports = function (context) {
var path = require('path');
- var shell = context.requireCordovaModule('shelljs');
+ var shell = require('shelljs');
var libPath = path.resolve(context.opts.projectRoot, "platforms/windows/cordova/lib");
var appUtilsPath = path.join(libPath, "WindowsStoreAppUtils.ps1");
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org