Showing 1 of 3 total issues
Function onFileChanged
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onFileChanged(client, thisSubscription, globalContext) {
const serviceContext = thisSubscription.serviceContext;
const functionSettings = serviceContext.functions;
const yarnOrNpmRun = globalContext.yarn ? 'yarn' : 'npm run';
const yarnOrNpm = globalContext.yarn ? 'yarn' : 'npm';