Skip to content
Snippets Groups Projects
Commit 93ac384c authored by Soliman Harkas's avatar Soliman Harkas
Browse files

Issue #3331278 Fix errors and warnings in phpcs

parent 2756d9a8
No related branches found
No related tags found
1 merge request!1Issue #3331278 Fix errors and warnings in phpcs
Pipeline #8935 failed
......@@ -37,19 +37,19 @@ const config = production ? ({
],
plugins: [
svelte({
customElement: true,
customElement: TRUE,
preprocess: preprocess(preprocessOptions),
css: css => css.write('build/bundle.css'),
}),
resolve({
browser: true,
browser: TRUE,
}),
terser(),
],
}) : ({
input: 'example/index.js',
output: {
sourcemap: true,
sourcemap: TRUE,
format: 'iife',
name: 'app',
file: 'public/bundle.js',
......
......@@ -30,7 +30,7 @@ export function normalizeListItems (data) {
name: items[i].title,
href: items[i].href,
level: level,
files: null,
files: NULL,
};
list.push(node);
}
......@@ -42,9 +42,9 @@ export function normalizeListItems (data) {
*/
export function checkIfDrupalMenuDataIsValid(data) {
if (data !== undefined && data.linkset !== undefined && data.linkset[0].item !== undefined) {
return true;
return TRUE;
} else {
return false;
return FALSE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment