MCPcopy Index your code
hub / github.com/darkreader/darkreader / codeStyle

Function codeStyle

tasks/code-style.js:54–66  ·  view source on GitHub ↗
({platforms, debug})

Source from the content-addressed store, hash-verified

52}
53
54async function codeStyle({platforms, debug}) {
55 if (debug) {
56 throw new Error('code-style task does not support debug builds');
57 }
58 const promisses = [];
59 if (platforms[PLATFORM.API]) {
60 promisses.push(processAPIBuild());
61 }
62 Object.values(PLATFORM)
63 .filter((platform) => platform !== PLATFORM.API && platforms[platform])
64 .forEach((platform) => promisses.push(processExtensionPlatform(platform)));
65 await Promise.all(promisses);
66}
67
68const codeStyleTask = createTask(
69 'code-style',

Callers

nothing calls this directly

Calls 3

processAPIBuildFunction · 0.85
processExtensionPlatformFunction · 0.85
allMethod · 0.80

Tested by

no test coverage detected