We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49183fe commit b00801cCopy full SHA for b00801c
Gruntfile.js
@@ -232,7 +232,7 @@ module.exports = function (grunt) {
232
233
function ensureCleanMaster() {
234
return exec('git symbolic-ref HEAD').then(function (result) {
235
- if (result.stdout.trim() !== 'refs/heads/master') throw new Error('Not on master branch, aborting');
+ if (result.stdout.trim() !== 'refs/heads/legacy') throw new Error('Not on legacy branch, aborting');
236
return exec('git status --porcelain');
237
}).then(function (result) {
238
if (result.stdout.trim() !== '') throw new Error('Working copy is dirty, aborting');
0 commit comments