mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Added test cases for make-dir package.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { makeDirectory, makeDirectorySync } from 'make-dir';
|
||||
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
|
||||
app.get('/makedir', (req, res) => {
|
||||
const file = req.query.file; // $ MISSING: Source
|
||||
|
||||
makeDirectory(file); // $ MISSING: Alert
|
||||
makeDirectorySync(file); // $ MISSING: Alert
|
||||
});
|
||||
Reference in New Issue
Block a user