Hash :
033c5ad8
Author :
Date :
2019-07-19T16:20:45
"use strict";
const git = require('simple-git/promise')(__dirname);
function gitChanges() {
return git.status().then(res => {
if (res.files.length > 0) {
console.log(res);
throw new Error('There are changes in the file system. Did you forget to run gulp?');
}
});
}
module.exports = {
premerge: gitChanges
};