@@ -2251,7 +2251,7 @@ function coerce(version) {
2251
2251
if ( match == null )
2252
2252
return null ;
2253
2253
2254
- return parse ( ( match [ 1 ] || '0' ) + '.' + ( match [ 2 ] || '0' ) + '.' + ( match [ 3 ] || '0' ) ) ;
2254
+ return parse ( ( match [ 1 ] || '0' ) + '.' + ( match [ 2 ] || '0' ) + '.' + ( match [ 3 ] || '0' ) ) ;
2255
2255
}
2256
2256
2257
2257
@@ -4726,7 +4726,7 @@ module.exports = function($logger, $projectData, hookArgs) {
4726
4726
}
4727
4727
4728
4728
// Logging from stdout/stderr
4729
- $logger.out ('Add iOS crash logging');
4729
+ $logger.info ('Add iOS crash logging');
4730
4730
const mainmPath = path.join($projectData.platformsDir, 'ios', 'internal', 'main.m');
4731
4731
if (fs.existsSync(mainmPath)) {
4732
4732
let mainmContent = fs.readFileSync(mainmPath).toString();
@@ -5050,12 +5050,12 @@ return new Promise(function(resolve, reject) {
5050
5050
5051
5051
// copy correct version to destination
5052
5052
if (fs.existsSync(sourceGoogleJson) && fs.existsSync(path.dirname(destinationGoogleJson))) {
5053
- $logger.out ("Copy " + sourceGoogleJson + " to " + destinationGoogleJson + ".");
5053
+ $logger.info ("Copy " + sourceGoogleJson + " to " + destinationGoogleJson + ".");
5054
5054
fs.writeFileSync(destinationGoogleJson, fs.readFileSync(sourceGoogleJson));
5055
5055
resolve();
5056
5056
} else if (fs.existsSync(sourceGoogleJson) && fs.existsSync(path.dirname(destinationGoogleJsonAlt))) {
5057
5057
// NativeScript < 4 doesn't have the 'app' folder
5058
- $logger.out ("Copy " + sourceGoogleJson + " to " + destinationGoogleJsonAlt + ".");
5058
+ $logger.info ("Copy " + sourceGoogleJson + " to " + destinationGoogleJsonAlt + ".");
5059
5059
fs.writeFileSync(destinationGoogleJsonAlt, fs.readFileSync(sourceGoogleJson));
5060
5060
resolve();
5061
5061
} else {
@@ -5173,11 +5173,11 @@ var copyPlist = function(copyPlistOpts) {
5173
5173
// if we have both dev/prod versions, we copy (or overwrite) GoogleService-Info.plist in destination dir
5174
5174
if (fs.existsSync(sourceGooglePlistProd) && fs.existsSync(sourceGooglePlistDev)) {
5175
5175
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 + ".");
5177
5177
fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistProd));
5178
5178
return true;
5179
5179
} 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 + ".");
5181
5181
fs.writeFileSync(destinationGooglePlist, fs.readFileSync(sourceGooglePlistDev));
5182
5182
return true;
5183
5183
}
@@ -5222,7 +5222,7 @@ var fs = require("fs");
5222
5222
module.exports = function($logger, $projectData) {
5223
5223
5224
5224
return new Promise(function(resolve, reject) {
5225
- $logger.out ("Configure firebase");
5225
+ $logger.info ("Configure firebase");
5226
5226
let projectBuildGradlePath = path.join($projectData.platformsDir, "android", "build.gradle");
5227
5227
if (fs.existsSync(projectBuildGradlePath)) {
5228
5228
let buildGradleContent = fs.readFileSync(projectBuildGradlePath).toString();
0 commit comments