diff options
| author | 2021-06-17 11:14:20 -0700 | |
|---|---|---|
| committer | 2021-06-17 11:14:20 -0700 | |
| commit | 9ca283bb43ebee74bf36af50807474b962ac44a1 (patch) | |
| tree | a7040b8b07a38f48b1993d4515d876ed075c1833 /src/cli.zig | |
| parent | e1677bb77414710c1114c3b52b3fa954d9276c45 (diff) | |
| download | bun-9ca283bb43ebee74bf36af50807474b962ac44a1.tar.gz bun-9ca283bb43ebee74bf36af50807474b962ac44a1.tar.zst bun-9ca283bb43ebee74bf36af50807474b962ac44a1.zip | |
CSS scanner works
Former-commit-id: 4ca1e17778dc4a331da5a9a21f56e0e590c799ce
Diffstat (limited to 'src/cli.zig')
| -rw-r--r-- | src/cli.zig | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/cli.zig b/src/cli.zig index 81f7b1c87..744369472 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -457,15 +457,7 @@ pub const Cli = struct { // try f.moveTo(result.outbase, constStrToU8(rel_path), root_dir.fd); }, .copy => |value| { - const rel_path_base = resolve_path.relativeToCommonPath( - from_path, - from_path, - f.input.text, - filepath_buf[2..], - comptime resolve_path.Platform.auto.separator(), - false, - ); - rel_path = filepath_buf[0 .. rel_path_base.len + 2]; + rel_path = value.pathname; try f.copyTo(result.outbase, constStrToU8(rel_path), root_dir.fd); }, |
