mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* update * update * manually revert acorn upgrade * update acorn * review --------- Co-authored-by: Huáng Jùnliàng <[email protected]>
14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
import { existsSync, copyFileSync } from "fs";
|
|
import isCI from "is-ci";
|
|
import husky from "husky";
|
|
|
|
if (!isCI) {
|
|
if (!existsSync(".husky/_/h")) {
|
|
husky();
|
|
}
|
|
|
|
if (!existsSync(".vscode/settings.json")) {
|
|
copyFileSync(".vscode/settings.example.json", ".vscode/settings.json");
|
|
}
|
|
}
|