Refactor artifacts to use relative directory for build step and retrieval
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
export default function grabRelativePath(path: string): string;
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
import grabDirNames from "./grab-dir-names";
|
||||
const { ROOT_DIR } = grabDirNames();
|
||||
export default function grabRelativePath(path) {
|
||||
const relative_path = path.replace(ROOT_DIR, "").replace(/^\//, "");
|
||||
return relative_path;
|
||||
}
|
||||
Reference in New Issue
Block a user