@@ -2251,7 +2251,7 @@ function coerce(version) {
22512251 if ( match == null )
22522252 return null ;
22532253
2254- return parse ( ( match [ 1 ] || '0' ) + '.' + ( match [ 2 ] || '0' ) + '.' + ( match [ 3 ] || '0' ) ) ;
2254+ return parse ( ( match [ 1 ] || '0' ) + '.' + ( match [ 2 ] || '0' ) + '.' + ( match [ 3 ] || '0' ) ) ;
22552255}
22562256
22572257
@@ -4726,7 +4726,7 @@ module.exports = function($logger, $projectData, hookArgs) {
47264726 }
47274727
47284728 // Logging from stdout/stderr
4729- $logger.out ('Add iOS crash logging');
4729+ $logger.info ('Add iOS crash logging');
47304730 const mainmPath = path.join($projectData.platformsDir, 'ios', 'internal', 'main.m');
47314731 if (fs.existsSync(mainmPath)) {
47324732 let mainmContent = fs.readFileSync(mainmPath).toString();
@@ -5050,12 +5050,12 @@ return new Promise(function(resolve, reject) {
50505050
50515051 // copy correct version to destination
50525052 if (fs.existsSync(sourceGoogleJson) && fs.existsSync(path.dirname(destinationGoogleJson))) {
5053- $logger.out ("Copy " + sourceGoogleJson + " to " + destinationGoogleJson + ".");
5053+ $logger.info ("Copy " + sourceGoogleJson + " to " + destinationGoogleJson + ".");
50545054 fs.writeFileSync(destinationGoogleJson, fs.readFileSync(sourceGoogleJson));
50555055 resolve();
50565056 } else if (fs.existsSync(sourceGoogleJson) && fs.existsSync(path.dirname(destinationGoogleJsonAlt))) {
50575057 // NativeScript < 4 doesn't have the 'app' folder
5058- $logger.out ("Copy " + sourceGoogleJson + " to " + destinationGoogleJsonAlt + ".");
5058+ $logger.info ("Copy " + sourceGoogleJson + " to " + destinationGoogleJsonAlt + ".");
50595059 fs.writeFileSync(destinationGoogleJsonAlt, fs.readFileSync(sourceGoogleJson));
50605060 resolve();
50615061 } else {
@@ -5173,11 +5173,11 @@ var copyPlist = function(copyPlistOpts) {
51735173 // if we have both dev/prod versions, we copy (or overwrite) GoogleService-Info.plist in destination dir
51745174 if (fs.existsSync(sourceGooglePlistProd) && fs.existsSync(sourceGooglePlistDev)) {
51755175 if (copyPlistOpts.buildType==='production') { // use prod version
5176- copyPlistOpts.$logger.out ("nativescript-plugin-firebase: copy " + sourceGooglePlistProd + " to " + destinationGooglePlist + ".");
5176+ copyPlistOpts.$logger.info ("nativescript-plugin-firebase: copy " + sourceGooglePlistProd + " to " + destinationGooglePlist + ".");
51775177 fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistProd));
51785178 return true;
51795179 } else { // use dev version
5180- copyPlistOpts.$logger.out ("nativescript-plugin-firebase: copy " + sourceGooglePlistDev + " to " + destinationGooglePlist + ".");
5180+ copyPlistOpts.$logger.info ("nativescript-plugin-firebase: copy " + sourceGooglePlistDev + " to " + destinationGooglePlist + ".");
51815181 fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistDev));
51825182 return true;
51835183 }
@@ -5222,7 +5222,7 @@ var fs = require("fs");
52225222module.exports = function($logger, $projectData) {
52235223
52245224 return new Promise(function(resolve, reject) {
5225- $logger.out ("Configure firebase");
5225+ $logger.info ("Configure firebase");
52265226 let projectBuildGradlePath = path.join($projectData.platformsDir, "android", "build.gradle");
52275227 if (fs.existsSync(projectBuildGradlePath)) {
52285228 let buildGradleContent = fs.readFileSync(projectBuildGradlePath).toString();
0 commit comments