Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 4022fff

Browse files
- Constantly rebuilding when running with .dev and .prod separation #968
- Separation of Environments doesn't appear to work for iOS #1129
1 parent 5fa5103 commit 4022fff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

publish/scripts/installer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ module.exports = function($logger, $projectData, hookArgs) {
966966
}
967967
} else { $logger.info('nativescript-plugin-firebase: '+npfInfoPath+' not found, forcing prepare!'); }
968968
969-
if (forcePrepare && fs.existsSync(nsPrepareInfoPath)) {
969+
if (forcePrepare) {
970970
$logger.info('nativescript-plugin-firebase: running release build or change in environment detected, forcing prepare!');
971971
972972
if (fs.existsSync(npfInfoPath)) { fs.unlinkSync(npfInfoPath); }

src/scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5138,7 +5138,7 @@ module.exports = function($logger, $projectData, hookArgs) {
51385138
}
51395139
} else { $logger.info('nativescript-plugin-firebase: '+npfInfoPath+' not found, forcing prepare!'); }
51405140
5141-
if (forcePrepare && fs.existsSync(nsPrepareInfoPath)) {
5141+
if (forcePrepare) {
51425142
$logger.info('nativescript-plugin-firebase: running release build or change in environment detected, forcing prepare!');
51435143
51445144
if (fs.existsSync(npfInfoPath)) { fs.unlinkSync(npfInfoPath); }

0 commit comments

Comments
 (0)