Fix usage of dirname instead of basename
This commit is contained in:
parent
ba8561d75a
commit
bc8165d0ae
@ -13,7 +13,7 @@ import {
|
||||
join as pathJoin,
|
||||
relative as pathRelative,
|
||||
sep as pathSep,
|
||||
dirname as pathDirname
|
||||
basename as pathBasename
|
||||
} from "path";
|
||||
import * as child_process from "child_process";
|
||||
import chalk from "chalk";
|
||||
@ -302,7 +302,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
||||
|
||||
const filePath = pathJoin(
|
||||
buildContext.cacheDirPath,
|
||||
pathDirname(internalFilePath)
|
||||
pathBasename(internalFilePath)
|
||||
);
|
||||
|
||||
fs.writeFileSync(
|
||||
|
Loading…
x
Reference in New Issue
Block a user