MCPcopy
hub / github.com/PrismJS/prism / getChangedMinifiedFiles

Function getChangedMinifiedFiles

dangerfile.js:41–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39};
40
41const getChangedMinifiedFiles = async () => {
42 const changed = await getChangedFiles();
43 return changed.filter(file => file.endsWith('.min.js'));
44};
45
46// https://stackoverflow.com/questions/15900485/correct-way-to-convert-size-in-bytes-to-kb-mb-gb-in-javascript
47const formatBytes = (bytes, decimals = 2) => {

Callers 1

runFunction · 0.85

Calls 1

getChangedFilesFunction · 0.85

Tested by

no test coverage detected