Skip to content
Permalink
Browse files
if no --platformVersion, set it to N/A instead of failing
  • Loading branch information
stevengill committed May 18, 2015
1 parent 9f78456 commit fcef6f27470518421deeab9f8e82d4313d2d199a
Showing 1 changed file with 3 additions and 3 deletions.
@@ -35,9 +35,9 @@ module.exports = function(grunt) {
}
});
if(!platformVersion){
console.log('please add a platform version flag and value');
console.log('ex: grunt compile --platformVersion=3.6.0');
throw new Error("platformVersion is required!");
//console.log('please add a platform version flag and value');
//console.log('ex: grunt compile --platformVersion=3.6.0');
platformVersion="N/A";
}

generate(platformName, useWindowsLineEndings, platformVersion, done);

0 comments on commit fcef6f2

Please sign in to comment.