mirror of
				https://github.com/ButlerLogic/action-autotag.git
				synced 2025-10-31 23:36:22 +07:00 
			
		
		
		
	WIP
This commit is contained in:
		| @ -1,11 +1,12 @@ | ||||
| import Regex from './regex.js' | ||||
| import path from 'path' | ||||
| import fs from 'fs' | ||||
| import core from '@actions/core' | ||||
|  | ||||
| export default class Dockerfile extends Regex { | ||||
|   constructor (root = null) { | ||||
|     root = path.join(process.env.GITHUB_WORKSPACE, root) | ||||
|  | ||||
|     core.debug(fs.readdirSync(root)) | ||||
|     if (fs.statSync(root).isDirectory()) { | ||||
|       root = path.join(root, 'Dockerfile') | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Corey Butler
					Corey Butler