diff --git a/.githooks/post-commit b/.githooks/post-commit index d886517..3bf5891 100755 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -1,3 +1,4 @@ #!/bin/sh +echo "running the 'post-commit' script" ./node_modules/.bin/markdownlint --ignore node_modules . diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 23c0362..535aff1 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,3 +1,4 @@ #!/bin/sh +echo "running the 'pre-commit' script" ./node_modules/.bin/eslint . diff --git a/README.md b/README.md index c7534f6..5f4a892 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Assignment Template - This repository contains the base files for the assignment. You will need to create a _private duplicate_ in your module organisation. Carry out the following steps, taken from the [GitHub documentation](https://help.github.com/en/enterprise/2.16/user/articles/duplicating-a-repository): Temporarily clone this repository to your development computer. This will create a directory on your computer called `temp` which contains the repository files: @@ -16,7 +15,6 @@ Mirror Push to this new repository, replacing xxx with the url from the clipboar Once you are sure the code is in your new repository, delete the temporary local repository. `cd .. && rm -rf temp/` - Your private repository on GitHub will now contain a complete copy of this template including the commits that were already made. You can now start your assignment by carrying out the following steps: Clone your private repository diff --git a/index.js b/index.js index 88bf49a..d00a80e 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ 'use strict' /* MODULE IMPORTS */ -const Koa = require('koa') +const Koa = require('koa'); const Router = require('koa-router') const views = require('koa-views') const staticDir = require('koa-static')