Prettier format pending files
This commit is contained in:
parent
507ee08241
commit
c7a42b0bad
1 changed files with 5 additions and 5 deletions
10
copy-api.js
10
copy-api.js
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ function copyDir(src, dest) {
|
|||
console.log(`Copied ${src} to ${dest}`);
|
||||
}
|
||||
|
||||
const srcApi = path.resolve(__dirname, 'api');
|
||||
const destApi = path.resolve(__dirname, '..', 'api');
|
||||
const srcApi = path.resolve(__dirname, "api");
|
||||
const destApi = path.resolve(__dirname, "..", "api");
|
||||
|
||||
copyDir(srcApi, destApi);
|
||||
|
|
|
|||
Loading…
Reference in a new issue