This is an automated email from the ASF dual-hosted git repository.

brodybits pushed a commit to branch brodybits-drop-vs2013-support-wip30
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git

commit 75589df3399d4195df78017ce427c75f3bcdb0f3
Author: Christopher J. Brody <[email protected]>
AuthorDate: Tue Dec 24 22:48:41 2019 -0500

    fix template/cordova/lib/utils.js to really check for jsproj
---
 template/cordova/lib/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template/cordova/lib/utils.js b/template/cordova/lib/utils.js
index 8c9b400..4f4b2cc 100644
--- a/template/cordova/lib/utils.js
+++ b/template/cordova/lib/utils.js
@@ -51,7 +51,7 @@ module.exports.isCordovaProject = function (platformpath) {
     if (fs.existsSync(platformpath)) {
         var files = fs.readdirSync(platformpath);
         for (var i in files) {
-            if (path.extname(files[i]) === '.shproj') {
+            if (path.extname(files[i]) === '.jsproj') {
                 return true;
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to