22 lines
535 B
JavaScript
22 lines
535 B
JavaScript
/*
|
|
|
|
Copyright (c) 2020, 2023, The Unified Company.
|
|
|
|
This code is part of Unify.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the ESA Software Community License - Strong Copyleft,
|
|
|
|
https://unifyjs.org
|
|
|
|
*/
|
|
|
|
import fs from "fs-extra"
|
|
|
|
if( fs.existsSync( "./framework/node_modules/better-sqlite3/node_modules/" ) ) {
|
|
|
|
fs.rmSync("./framework/node_modules/better-sqlite3/node_modules/", { recursive: true });
|
|
|
|
}
|
|
|
|
fs.mkdirSync("./framework/node_modules/better-sqlite3/node_modules/"); |