Error: ReferenceError: fs is not defined
gulp.task('pug', function() {
return gulp.src('pug/*.pug')
.pipe(data(function(file) {
return JSON.parse(
fs.readFileSync('data.json')
);
}))
.pipe(pug({ pretty: true }))
.pipe(gulp.dest(''))
});
h3.facts__title !{array.key.value}
function summRedColor() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
var range = sheet.getRange("A1:A6");
var bgColors = range.getBackgrounds();
var values = range.getValues();
var allRedColorRangeValues = [];
for (var i in bgColors) {
if(bgColors[i] == "#000"){
allRedColorRangeValues.push(values[i]);
Logger.log("черный цвет");
}
else{
Logger.log("другой цвет");
}
}
}