fix less task not working in core directory

less should always work in the core directory