firebase-tools 10.1.0 → 10.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/deploy/functions/prepare.js +15 -9
- package/lib/deploy/functions/runtimes/golang/index.js +4 -8
- package/lib/deploy/functions/runtimes/index.js +6 -10
- package/lib/deploy/functions/runtimes/node/index.js +5 -9
- package/lib/deploy/functions/runtimes/node/validate.js +2 -1
- package/lib/deploy/functions/validate.js +4 -3
- package/lib/emulator/auth/widget_ui.js +1 -1
- package/npm-shrinkwrap.json +775 -812
- package/package.json +1 -1
- package/standalone/firepit.js +4 -4
package/package.json
CHANGED
package/standalone/firepit.js
CHANGED
|
@@ -145,7 +145,7 @@ const runtime = require("./runtime");
|
|
|
145
145
|
let config;
|
|
146
146
|
try {
|
|
147
147
|
config = require("./config");
|
|
148
|
-
} catch (err
|
|
148
|
+
} catch (err) {
|
|
149
149
|
console.warn("Invalid Firepit configuration, this may be a broken build.");
|
|
150
150
|
process.exit(2);
|
|
151
151
|
}
|
|
@@ -684,7 +684,7 @@ node "${FindTool("npm/bin/npm-cli")[0]}" ${npmArgs.join(" ")} %*`,
|
|
|
684
684
|
|
|
685
685
|
try {
|
|
686
686
|
shell.mkdir("-p", runtimeBinsPath);
|
|
687
|
-
} catch (err
|
|
687
|
+
} catch (err) {
|
|
688
688
|
debug(err);
|
|
689
689
|
}
|
|
690
690
|
|
|
@@ -693,7 +693,7 @@ node "${FindTool("npm/bin/npm-cli")[0]}" ${npmArgs.join(" ")} %*`,
|
|
|
693
693
|
const runtimeBinPath = path.join(runtimeBinsPath, filename);
|
|
694
694
|
try {
|
|
695
695
|
shell.rm("-rf", runtimeBinPath);
|
|
696
|
-
} catch (err
|
|
696
|
+
} catch (err) {
|
|
697
697
|
debug(err);
|
|
698
698
|
}
|
|
699
699
|
fs.writeFileSync(runtimeBinPath, runtimeBins[filename]);
|
|
@@ -840,7 +840,7 @@ function uninstallLegacyFirepit() {
|
|
|
840
840
|
installedFirebaseToolsPackage = JSON.parse(
|
|
841
841
|
shell.cat(installedFirebaseToolsPackagePath)
|
|
842
842
|
);
|
|
843
|
-
} catch (err
|
|
843
|
+
} catch (err) {
|
|
844
844
|
debug("No existing firebase-tools install found.");
|
|
845
845
|
}
|
|
846
846
|
|