From 972f5912032c6d4de5f790cc041a49b069136a60 Mon Sep 17 00:00:00 2001 From: Tim Jacomb Date: Mon, 23 Sep 2024 21:42:30 +0100 Subject: [PATCH] Add lint issue --- Jenkinsfile | 3 +++ plugin/src/main/js/samples.js | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 64fce02cf..ebb31137f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,9 @@ https://github.com/jenkins-infra/pipeline-library/ */ + +@Library('pipeline-library@pull/883/head') _ + buildPlugin( useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests configurations: [ diff --git a/plugin/src/main/js/samples.js b/plugin/src/main/js/samples.js index 810d62783..89be657c9 100644 --- a/plugin/src/main/js/samples.js +++ b/plugin/src/main/js/samples.js @@ -5,10 +5,11 @@ export function addSamplesWidget(editor, editorId, samplesUrl) { if ($('#workflow-editor-wrapper .samples').length) { // Already there. - return; + return } + var blah = "" - var $aceEditor = $('#' + editorId); + var $aceEditor = $("#" + editorId); var sampleSelect = $(''); sampleSelect.append('');