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