HomePhabricator

When writing temporary plugin files, ensure the directory exists

Authored by QChris on May 31 2020, 1:27 PM.

Description

When writing temporary plugin files, ensure the directory exists

When adding plugins as streams in PluginIT (which upcoming commits
will do), installing the plugin failed, as the temporary directory
does not exist.

Instead of fixing the caller of asTemp to create the directory
before the call, we instead change asTemp itself to create the
directory, and can thereby simplify other callers, which also
manually create the directory.

Change-Id: If7962ee2898f52c0db43cf030528a82530a2442b

Details

Committed
QChrisJun 1 2020, 8:03 AM
Parents
rGERRITDEPLOY51b865f0f397: Merge branch 'stable-3.0' into stable-3.1
Branches
Unknown
Tags
Unknown
ChangeId
If7962ee2898f52c0db43cf030528a82530a2442b