Skip to content

Commit d20ddbe

Browse files
authored
Merge pull request #152 from codecrafters-io/revert-151-cc-1984-2
Revert "CC-1984: Change uncomment code text (2nd try)"
2 parents 172d10f + ffd817d commit d20ddbe

File tree

48 files changed

+48
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+48
-48
lines changed

compiled_starters/c/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
2626
// You can use print statements as follows for debugging, they'll be visible when running tests.
2727
fprintf(stderr, "Logs from your program will appear here!\n");
2828

29-
// Uncomment the code below to pass the first stage the first stage
29+
// Uncomment this to pass the first stage
3030
// printf("database page size: %u\n", page_size);
3131

3232
fclose(database_file);

compiled_starters/clojure/src/sqlite/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
;; You can use print statements as follows for debugging, they'll be
2020
;; visible when running tests.
2121
(println "Logs from your program will appear here!")
22-
;; Uncomment the code below to pass the first stage the first stage
22+
;; Uncomment this block to pass the first stage
2323
;; (let [command (second args)]
2424
;; (case command
2525
;; ".dbinfo"

compiled_starters/cpp/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int main(int argc, char* argv[]) {
2525
return 1;
2626
}
2727

28-
// Uncomment the code below to pass the first stage the first stage
28+
// Uncomment this to pass the first stage
2929
// database_file.seekg(16); // Skip the first 16 bytes of the header
3030
//
3131
// char buffer[2];

compiled_starters/csharp/src/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// You can use print statements as follows for debugging, they'll be visible when running tests.
1717
Console.Error.WriteLine("Logs from your program will appear here!");
1818

19-
// Uncomment the code below to pass the first stage the first stage
19+
// Uncomment this line to pass the first stage
2020
// databaseFile.Seek(16, SeekOrigin.Begin); // Skip the first 16 bytes
2121
// byte[] pageSizeBytes = new byte[2];
2222
// databaseFile.Read(pageSizeBytes, 0, 2);

compiled_starters/elixir/lib/main.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule CLI do
99
# You can use print statements as follows for debugging, they'll be visible when running tests.
1010
IO.puts(:stderr, "Logs from your program will appear here!")
1111

12-
# Uncomment the code below to pass the first stage the first stage
12+
# Uncomment this to pass the first stage
1313
# :file.position(file, 16) # Skip the first 16 bytes of the header
1414
# <<page_size::16>> = IO.binread(file, 2)
1515
# IO.puts("database page size: #{page_size}")

compiled_starters/gleam/src/main.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub fn main() {
99

1010
let args = argv.load().arguments
1111

12-
// Uncomment the code below to pass the first stage the first stage
12+
// Uncomment this to pass the first stage
1313
// case args {
1414
// [database_file_path, ".dbinfo", ..] -> {
1515
// let assert Ok(rs) = read_stream.open(database_file_path)

compiled_starters/go/app/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func main() {
3737
// You can use print statements as follows for debugging, they'll be visible when running tests.
3838
fmt.Fprintln(os.Stderr, "Logs from your program will appear here!")
3939

40-
// Uncomment the code below to pass the first stage the first stage
40+
// Uncomment this to pass the first stage
4141
// fmt.Printf("database page size: %v", pageSize)
4242
default:
4343
fmt.Println("Unknown command", command)

compiled_starters/java/src/main/java/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void main(String[] args){
2727
// You can use print statements as follows for debugging, they'll be visible when running tests.
2828
System.err.println("Logs from your program will appear here!");
2929

30-
// Uncomment the code below to pass the first stage the first stage
30+
// Uncomment this block to pass the first stage
3131
// System.out.println("database page size: " + pageSize);
3232
} catch (IOException e) {
3333
System.out.println("Error reading file: " + e.getMessage());

compiled_starters/javascript/app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (command === ".dbinfo") {
1515
// You can use print statements as follows for debugging, they'll be visible when running tests.
1616
console.error("Logs from your program will appear here!");
1717

18-
// Uncomment the code below to pass the first stage the first stage
18+
// Uncomment this to pass the first stage
1919
// const pageSize = buffer.readUInt16BE(16); // page size is 2 bytes starting at offset 16
2020
// console.log(`database page size: ${pageSize}`);
2121
} else {

compiled_starters/kotlin/app/src/main/kotlin/App.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fun main(args: Array<String>) {
1616
if (command == ".dbinfo") {
1717
val databaseFile = java.io.File(databaseFilePath).inputStream()
1818

19-
// Uncomment the code below to pass the first stage the first stage
19+
// Uncomment this block to pass the first stage
2020
//
2121
// databaseFile.skip(16) // Skip the first 16 bytes of the header
2222
// val pageSizeBytes = ByteArray(2) // The following 2 bytes are the page size

0 commit comments

Comments
 (0)