Unify formatting on canonical syntax
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import { rmSync, writeFileSync } from 'node:fs';
|
||||
import { copyFileSync, rmSync, writeFileSync } from 'node:fs';
|
||||
import { resolve } from 'node:path';
|
||||
|
||||
const wasmDir = resolve(import.meta.dirname, '../../../packages/decodal-codemirror/wasm');
|
||||
const packageDir = resolve(wasmDir, '..');
|
||||
|
||||
copyFileSync(resolve(packageDir, '../../LICENSE-MIT'), resolve(packageDir, 'LICENSE-MIT'));
|
||||
copyFileSync(resolve(packageDir, '../../LICENSE-APACHE'), resolve(packageDir, 'LICENSE-APACHE'));
|
||||
|
||||
rmSync(resolve(wasmDir, 'README.md'), { force: true });
|
||||
rmSync(resolve(wasmDir, 'package.json'), { force: true });
|
||||
|
||||
Reference in New Issue
Block a user