mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 05:23:09 +02:00
more ignores #407
This commit is contained in:
parent
02c97f7985
commit
9d6c24fb6d
5 changed files with 6 additions and 3 deletions
|
@ -1 +0,0 @@
|
||||||
/tossface-emjois/
|
|
4
.semgrepignore
Normal file
4
.semgrepignore
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/packages/frontend/.storybook/
|
||||||
|
/packages/frontend/assets/
|
||||||
|
/scripts/
|
||||||
|
/tossface-emojis/
|
|
@ -46,6 +46,7 @@ export class ExportAntennasProcessorService {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const [path, cleanup] = await createTemp();
|
const [path, cleanup] = await createTemp();
|
||||||
|
// eslint-disable-next-line detect-non-literal-fs-filename
|
||||||
const stream = fs.createWriteStream(path, { flags: 'a' });
|
const stream = fs.createWriteStream(path, { flags: 'a' });
|
||||||
const write = (input: string): Promise<void> => {
|
const write = (input: string): Promise<void> => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/assets/
|
|
|
@ -15,7 +15,7 @@ function build() {
|
||||||
fs.mkdirSync(__dirname + '/../built', { recursive: true });
|
fs.mkdirSync(__dirname + '/../built', { recursive: true });
|
||||||
fs.writeFileSync(__dirname + '/../built/meta.json', JSON.stringify({ version: meta.version }), 'utf-8');
|
fs.writeFileSync(__dirname + '/../built/meta.json', JSON.stringify({ version: meta.version }), 'utf-8');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e) // njsscan-ignore:generic_error_disclosure
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue