remove this line and add
```javascript
let appDir = webapp.sourceDirectoryFile;
```

or just use `webapp.sourceDirectoryFile` instead of `appDir`