mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
import { makeDirectory, makeDirectorySync } from 'make-dir';
|
|
|
|
const express = require('express');
|
|
const app = express();
|
|
|
|
app.get('/makedir', async (req, res) => {
|
|
const file = req.query.file; // $ Source
|
|
|
|
await makeDirectory(file); // $ Alert
|
|
makeDirectorySync(file); // $ Alert
|
|
});
|