Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thechenky committed Jun 4, 2019
1 parent 5b7ef77 commit 454f2d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/ensureCloudResourceLocation.ts
Expand Up @@ -13,8 +13,8 @@ export function ensureLocationSet(location: string, feature: string): void {
if (!location) {
throw new FirebaseError(
`Cloud resource location is not set for this project but the operation ` +
`you are attempting to perform in ${feature} requires it. ` +
`Please see this documentation for more details: https://firebase.google.com/docs/projects/locations.`
`you are attempting to perform in ${feature} requires it. ` +
`Please see this documentation for more details: https://firebase.google.com/docs/projects/locations.`
);
}
}
6 changes: 3 additions & 3 deletions src/init/features/project.ts
Expand Up @@ -57,9 +57,9 @@ async function _getProject(options: any): Promise<any> {
if (choices.length >= 25) {
utils.logBullet(
"Don't want to scroll through all your projects? If you know your project ID, " +
"you can initialize it directly using " +
clc.bold("firebase init --project <project_id>") +
".\n"
"you can initialize it directly using " +
clc.bold("firebase init --project <project_id>") +
".\n"
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/init/features/storage.js
Expand Up @@ -12,7 +12,7 @@ var RULES_TEMPLATE = fs.readFileSync(
"utf8"
);

module.exports = function (setup, config) {
module.exports = function(setup, config) {
logger.info("SETUP! " + JSON.stringify(setup));
ensureCloudResourceLocation.ensureLocationSet(setup.projectId, "storage");

Expand All @@ -31,7 +31,7 @@ module.exports = function (setup, config) {
message: "What file should be used for Storage Rules?",
default: "storage.rules",
},
]).then(function () {
]).then(function() {
return config.writeProjectFile(setup.config.storage.rules, RULES_TEMPLATE);
});
};

0 comments on commit 454f2d4

Please sign in to comment.