more ignores #407

This commit is contained in:
dakkar 2024-02-09 14:04:11 +00:00
parent 02c97f7985
commit 9d6c24fb6d
5 changed files with 6 additions and 3 deletions

View file

@ -1 +0,0 @@
/tossface-emjois/

4
.semgrepignore Normal file
View file

@ -0,0 +1,4 @@
/packages/frontend/.storybook/
/packages/frontend/assets/
/scripts/
/tossface-emojis/

View file

@ -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) => {

View file

@ -1 +0,0 @@
/assets/

View file

@ -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
} }
} }