Skip to content

Commit 7c759d4

Browse files
committed
refactor: Fix linting issues
1 parent a375889 commit 7c759d4

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

packages/builder/lib/tasks/escapeNonAsciiCharacters.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import nonAsciiEscaper from "../processors/nonAsciiEscaper.js";
1414
*
1515
* @param {object} parameters Parameters
1616
* @param {@ui5/fs/DuplexCollection} parameters.workspace DuplexCollection to read and write files
17+
* @param {Array<string>} parameters.invalidatedResources List of invalidated resource paths
1718
* @param {object} parameters.options Options
1819
* @param {string} parameters.options.pattern Glob pattern to locate the files to be processed
1920
* @param {string} parameters.options.encoding source file encoding either "UTF-8" or "ISO-8859-1"

packages/project/lib/graph/ProjectGraph.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,8 @@ class ProjectGraph {
632632
* @param {Array.<string>} [parameters.excludedTasks=[]] List of tasks to be excluded.
633633
* @param {module:@ui5/project/build/ProjectBuilderOutputStyle} [parameters.outputStyle=Default]
634634
* Processes build results into a specific directory structure.
635+
* @param {string} [parameters.cacheDir] Path to the cache directory
636+
* @param {boolean} [parameters.watch] Whether to watch for file changes and re-execute the build automatically
635637
* @returns {Promise} Promise resolving to <code>undefined</code> once build has finished
636638
*/
637639
async build({
@@ -666,7 +668,8 @@ class ProjectGraph {
666668
destPath, cleanDest,
667669
includedDependencies, excludedDependencies,
668670
dependencyIncludes,
669-
cacheDir, watch,
671+
// cacheDir, // FIXME/TODO: Not implemented yet
672+
watch,
670673
});
671674
}
672675

packages/project/test/lib/build/TaskRunner.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ test("_initTasks: Project of type 'library' (framework project)", async (t) => {
296296
test("_initTasks: Project of type 'theme-library'", async (t) => {
297297
const {graph, taskUtil, taskRepository, TaskRunner, projectBuildLogger, cache} = t.context;
298298
const taskRunner = new TaskRunner({
299-
project: getMockProject("theme-library"), graph, taskUtil, taskRepository, log: projectBuildLogger, cache, buildConfig
299+
project: getMockProject("theme-library"), graph, taskUtil, taskRepository,
300+
log: projectBuildLogger, cache, buildConfig
300301
});
301302
await taskRunner._initTasks();
302303

packages/server/lib/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import express from "express";
22
import portscanner from "portscanner";
3-
import path from "node:path/posix";
43
import MiddlewareManager from "./middleware/MiddlewareManager.js";
54
import {createReaderCollection} from "@ui5/fs/resourceFactory";
65
import ReaderCollectionPrioritized from "@ui5/fs/ReaderCollectionPrioritized";

0 commit comments

Comments
 (0)