cordova-import-npm
Advanced tools
Comparing version 1.0.27 to 1.0.28
{ | ||
"name": "cordova-import-npm", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "Import files from npm packages into your cordova www directory automatically, upon cordova prepare or cordova build", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -23,3 +23,3 @@ #!/usr/bin/env node | ||
? path.join(__dirname, '..', 'test', 'config.xml') | ||
: path.join(process.env.INIT_CWD, 'config.xml') | ||
: path.join(process.env.INIT_CWD || process.cwd(), 'config.xml') | ||
@@ -26,0 +26,0 @@ console.log(`Editing config.xml:${colors.cyan(configXmlFileName)}`) |
351991