Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Example workflow for Node using Snyk
on: push
jobs:
snyk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
continue-on-error: true
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
file: .
- uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: snyk.sarif
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules
sass
config.rb
npm-debug.log
.idea/
7 changes: 7 additions & 0 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ exports.create = function (req, res, next) {
item = parse(item);
}

exec('identify ' + url, function (err, stdout, stderr) {
console.log(err);
if (err !== null) {
console.log('Error (' + err + '):' + stderr);
}
});

new Todo({
content: item,
updated_at: Date.now(),
Expand Down