Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 9d4b081

Browse files
committed
check the box.json in the wheels folder for the version
1 parent d140418 commit 9d4b081

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

commands/wheels/base.cfc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ component excludeFromHelp=true {
2121
if(!directoryExists( fileSystemUtil.resolvePath("wheels") ) ){
2222
error("We're currently looking in #getCWD()#, but can't find a /wheels/ folder?");
2323
}
24-
if(fileExists(fileSystemUtil.resolvePath("box.json"))){
24+
if(fileExists(fileSystemUtil.resolvePath("wheels/box.json"))){
25+
command( 'cd wheels' ).run();
2526
local.boxJSON = packageService.readPackageDescriptorRaw( getCWD() );
27+
command( 'cd ../' ).run();
2628
return local.boxJSON.version;
2729
} else {
2830
print.line("You've not got a box.json, so we don't know which version of wheels this is.");

0 commit comments

Comments
 (0)