Skip to content

Commit

Permalink
Merge pull request #46 from City-of-Helsinki/UHF-X-sonarcloud-quality…
Browse files Browse the repository at this point in the history
…-gate

Fix issues detected by sonarcloud
  • Loading branch information
hyrsky authored Apr 24, 2024
2 parents a220300 + e76528c commit 2037e42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function ($) {
(function ($, drupalSettings) {
Drupal.behaviors.cookieResetButton = {
attach: function (context, settings) {
once('cookieSubmitButtons', '.eu-cookie-compliance-block-form', context).forEach(
Expand Down
1 change: 0 additions & 1 deletion public/themes/custom/hdbt_subtheme/stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const fs = require('fs');
// Get document, or throw exception on error
try {
const doc = yaml.load(fs.readFileSync('../../contrib/hdbt/.stylelintrc.yaml', 'utf8'));
// console.log(doc);
module.exports = doc;
} catch (e) {
console.log(e);
Expand Down

0 comments on commit 2037e42

Please sign in to comment.