summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index c7864f8..535a106 100755
--- a/cdist
+++ b/cdist
@@ -689,7 +689,7 @@ elif args.command == 'test':
if args.target is None:
error('you must specify -t or --target')
- target = Target(args.target)
+ target = target_factory(args.target)
project.read_cscript('cscript')
target.build(project)