Skip to content

Conversation

mbleigh
Copy link
Contributor

@mbleigh mbleigh commented Sep 27, 2017

No description provided.

@coveralls
Copy link

coveralls commented Sep 27, 2017

Coverage Status

Coverage decreased (-0.08%) to 58.383% when pulling 3808793 on mb-storage-multi into 26b8f57 on mb-target-cmds.

@coveralls
Copy link

coveralls commented Sep 27, 2017

Coverage Status

Coverage decreased (-0.08%) to 58.383% when pulling e891f23 on mb-storage-multi into 26b8f57 on mb-target-cmds.

_.forEach(rulesMap, function(rules, filename) {
utils.logBullet(chalk.cyan('storage:') + ' uploading rules ' + chalk.bold(filename) + '...');
promises.push(gcp.rules.createRuleset(options.project, rules.files).then(function(rulesetName) {
rules.ruleset = rulesetName;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It persists the created ruleset name in the context so the release phase can access it when performing a release. See https://github.com/firebase/firebase-tools/pull/476/files#diff-636795e647db388748a86f13457eb5ebR22

@laurenzlong laurenzlong assigned mbleigh and unassigned laurenzlong Sep 28, 2017
@mbleigh mbleigh assigned laurenzlong and unassigned mbleigh Sep 28, 2017
@laurenzlong laurenzlong assigned mbleigh and unassigned laurenzlong Sep 28, 2017
@mbleigh mbleigh merged commit 5b8ca6a into mb-target-cmds Sep 28, 2017
@mbleigh mbleigh deleted the mb-storage-multi branch September 28, 2017 19:26
@mbleigh mbleigh restored the mb-storage-multi branch September 28, 2017 22:49
@laurenzlong laurenzlong deleted the mb-storage-multi branch January 18, 2018 01:22
yuchenshi pushed a commit that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants