Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: lockfiles #3231

Merged
merged 14 commits into from
Nov 3, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
ry committed Oct 29, 2019
commit def8edcf8f8bd30aec6cc112a2bb74d6900b33c8
2 changes: 1 addition & 1 deletion cli/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl ThreadSafeState {
g.insert(&compiled_module);
} else if !g.check(&compiled_module)? {
eprintln!(
"lock file check failed {} {}",
"Subresource integrety check failed --lock={}\n{}",
g.filename, compiled_module.name
);
std::process::exit(10);
ry marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
3 changes: 2 additions & 1 deletion cli/tests/lock_check_err.out
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[WILDCARD]lock file check failed lock_check_err.json [WILDCARD]tests/003_relative_import.ts
[WILDCARD]Subresource integrety check failed --lock=lock_check_err.json
http:https://127.0.0.1:4545/cli/tests/003_relative_import.ts