Sha256: 298422ef85876b6b33ba1bcfd617425d9eb4fa00d488a1b5862e6513e484b26c
Contents?: true
Size: 498 Bytes
Versions: 20
Compression:
Stored size: 498 Bytes
Contents
// @ts-check const { existsSync } = require('fs'); const { join } = require('path'); class BuildToolInstallerBase { /** * @param {string} buildFile * @param {string} path */ constructor(buildFile, path) { this.buildFile = buildFile; this.path = path; } get available() { return existsSync(this.buildFilePath); } /** * @returns {string} */ get buildFilePath() { return join(this.path, this.buildFile); } } module.exports = BuildToolInstallerBase;
Version data entries
20 entries across 20 versions & 1 rubygems