chore: remove path sep conversion

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-02-19 00:59:04 +01:00
parent 2038d87306
commit ed087e5b0d
10 changed files with 22 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ export class Context {
public buildGitContext: string;
public provenanceBuilderID: string;
private readonly _tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-actions-toolkit-')).split(path.sep).join(path.posix.sep);
private readonly _tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'docker-actions-toolkit-'));
constructor() {
this.gitRef = github.context.ref;