@leverege/build-tools 2.93.3-beta.1 → 2.93.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.93.3-beta.1",
3
+ "version": "2.93.3-beta.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import path from 'node:path'
4
+
3
5
  import { program } from 'commander'
4
6
 
5
7
  import { warning, log } from '../Utils.mjs'
@@ -39,7 +41,7 @@ async function main() {
39
41
  let puller
40
42
  switch ( artifactSchema.type ) {
41
43
  case ArtifactTypeEnum.GENERIC:
42
- puller = new GenericArtifactPuller( artifactSchema )
44
+ puller = new GenericArtifactPuller( path.dirname( options.filePath ), artifactSchema )
43
45
  break
44
46
  default:
45
47
  warning( `Unsupported artifact type "${artifactSchema.type}"` )
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import path from 'node:path'
4
+
3
5
  import { program } from 'commander'
4
6
 
5
7
  import { warning, log } from '../Utils.mjs'
@@ -39,7 +41,7 @@ async function main() {
39
41
  let pusher
40
42
  switch ( artifactSchema.type ) {
41
43
  case ArtifactTypeEnum.GENERIC:
42
- pusher = new GenericArtifactPusher( artifactSchema )
44
+ pusher = new GenericArtifactPusher( path.dirname( options.filePath ), artifactSchema )
43
45
  break
44
46
  default:
45
47
  warning( `Unsupported artifact type "${artifactSchema.type}"` )