mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-19 23:59:30 +08:00
8 lines
247 B
TypeScript
8 lines
247 B
TypeScript
import getAlasABSPath from './getAlasABSPath';
|
|
import fs from 'fs';
|
|
import {join} from 'path';
|
|
export function checkIsFirst(): boolean {
|
|
const absPath = getAlasABSPath();
|
|
return fs.existsSync(join(absPath + '/config/deploy.template.yaml'));
|
|
}
|