mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
CB-12546: move check_reqs to templates directory and update module references.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
if (process.env.npm_package_name === 'pseudomap' &&
|
||||
process.env.npm_lifecycle_script === 'test')
|
||||
process.env.TEST_PSEUDOMAP = 'true'
|
||||
|
||||
if (typeof Map === 'function' && !process.env.TEST_PSEUDOMAP) {
|
||||
module.exports = Map
|
||||
} else {
|
||||
module.exports = require('./pseudomap')
|
||||
}
|
||||
Reference in New Issue
Block a user